• Post Reply Bookmark Topic Watch Topic
  • New Topic

Difference between the all containers

 
Pankaj Shet
Ranch Hand
Posts: 306
Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI Friends,

I have tried to understand the difference between the containers Container, ContentPane, JPanel, RootPane, JFrame, JWindow, JApplet, etc.. But could not understand. Can I know when to use what?
It's my humble request to please make me understand the difference and the utilities in certain situations, when to use what.
Thanks and Regards.
-Pankaj
 
Darryl Burke
Bartender
Posts: 5155
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Go through the Swing tutorials on the Sun site or elsewhere.
2. Read the API for the classes of interest.

0. There isn't a class named ContentPane. Nor is there a RootPane.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!