• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

3 JComboBox dependent of one another

 
Marwen Ben
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I have 3 ComboBox that depends on the other one depends on the 2nd and 3rd 1st 2nd depends.

the problem that the elements of 2nd ComboBox there has one element that appears (the first element) I do not know how to correct it.

another problem just how empty a ComboBox from an index I tried removeItemAt (anIndex);


event on the first ComboBox:


event on the 2nd ComboBox:

 
Darryl Burke
Bartender
Posts: 5125
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To get better help sooner, post a SSCCE (Short, Self Contained, Compilable and Executable) example that demonstrates the problem. Use hardcoded data so that the program doesn't depend on database access.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic