Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

What does Container mean in Swing  RSS feed

 
Varun Nayudu
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have just starting using swing and am reading the sun homepage about swing .There while i was reading i encountered many places where the word container was used .Please can any one tell me what exactly is a container in Swing .I am familiar with Web technology and there container is a place were all the code like jsp/servlet reside.Is it the same in Swing .If possible please explain it too (with regards to swing).
 
Campbell Ritchie
Sheriff
Posts: 53773
127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's actually an AWT class. Start with the API documentation.
 
Rob Spoor
Sheriff
Posts: 20895
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Swing and AWT, a Container is a component that can contain other components. JPanel is the best known and most used example of a Container.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!