Results 1 to 3 of 3
Thread: What does getContentPane mean?
- 08-23-2012, 10:15 AM #1
Member
- Join Date
- Aug 2012
- Posts
- 3
- Rep Power
- 0
- 08-23-2012, 10:44 AM #2
Senior Member
- Join Date
- Oct 2011
- Location
- Sweden
- Posts
- 123
- Rep Power
- 0
Re: What does getContentPane mean?
A container is an AWT / Swing object that can hold other components. It's like a drawing area where you assign it to use a layout manager to determine how and where other components are placed.
I suggest that you read into it in the Java tutorial where it is covered:
Using Top-Level Containers (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components)
--
Perhaps just use one topic next time..
- 08-23-2012, 11:19 AM #3
Member
- Join Date
- Aug 2012
- Posts
- 3
- Rep Power
- 0
Similar Threads
-
getContentPane not displaying text
By roguecowboy in forum AWT / SwingReplies: 3Last Post: 08-08-2011, 05:52 AM -
Difference between add() and getContentPane().add()?
By AcousticBruce in forum New To JavaReplies: 3Last Post: 02-17-2011, 06:18 PM -
getContentPane update from actionPerformed method
By cazmo in forum New To JavaReplies: 1Last Post: 02-27-2010, 12:35 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks