This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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??
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: control one JComboBox from another
 
Similar Threads
Jsp
JComboBox with more than one row
Dynamic select on struts 2
Comboboxes in a jsp page.
ItemListener for JComboBox