Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

control one JComboBox from another

 
nick fox
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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??
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic