Results 1 to 5 of 5
Thread: SAME JComboBox in 2 JPanles?
- 08-18-2010, 03:16 PM #1
Member
- Join Date
- Feb 2010
- Posts
- 21
- Rep Power
- 0
- 08-18-2010, 03:23 PM #2
A component has a parent pointer, that would be set to the last container it was added to.
- 08-18-2010, 03:34 PM #3
Member
- Join Date
- Feb 2010
- Posts
- 21
- Rep Power
- 0
Thanks Norm for your quick reply... :o
Can you be more clear with more details please ?
What the code must be ?
Many thanks
- 08-18-2010, 03:59 PM #4
How can a component be in two containers if it has a reference to its parent.
There is only ONE reference, hence it can only be in one container.
The solution is to redesign your program.
- 08-18-2010, 04:13 PM #5
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,606
- Blog Entries
- 7
- Rep Power
- 17
Similar Threads
-
Activate JComboBox 1 when object is selected in JComboBox 2...
By bahumbaba in forum AWT / SwingReplies: 2Last Post: 12-10-2009, 01:58 PM -
I need help with JComboBox
By eva21 in forum New To JavaReplies: 1Last Post: 11-28-2008, 10:05 PM -
JCombobox
By daniel50096230 in forum NetBeansReplies: 1Last Post: 09-21-2008, 12:23 PM -
JComboBox
By Fosters in forum AWT / SwingReplies: 0Last Post: 08-10-2008, 01:22 PM -
jcombobox
By Freddie in forum AWT / SwingReplies: 4Last Post: 05-11-2007, 12:48 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks