my dog learned polymorphism*
The moose likes Swing / AWT / SWT and the fly likes control one JComboBox from another Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "control one JComboBox from another" Watch "control one JComboBox from another" New topic
Author

control one JComboBox from another

nick fox
Greenhorn

Joined: Jun 20, 2003
Posts: 2
i have two JComboBoxes.when i select an item from the first combobox i want to populate the second combobox with items depending on the selection made in the first combobox.
example : i have 3 items in the first combobox : A, B and C
A = 1,2,3
B = 4,5,6
C = 7,8,9
if i select B from first combobox i want to put 4,5,6 into second combobox.
is this possible??
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: control one JComboBox from another