aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes 3 JComboBox dependent of one another Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "3 JComboBox dependent of one another" Watch "3 JComboBox dependent of one another" New topic

3 JComboBox dependent of one another

Marwen Ben

Joined: Apr 21, 2012
Posts: 3
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

Joined: May 03, 2008
Posts: 4640

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.

luck, db
There are no new questions, but there may be new answers.
I agree. Here's the link:
subject: 3 JComboBox dependent of one another