Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

control one JComboBox from another  RSS feed

 
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??
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!