Kavana, do you know
what the Java API is? After looking up both topics, its clear by their first lines of their description that:
Panel is the simplest container class. A panel provides space in which an application can attach any other component, including other panels.
A Frame is a top-level window with a title and a border.
There's more there in the API - if you're going to succeed as a Java programmer, you absolutely must have the API bookmarked or downloaded to your system.