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
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "3 JComboBox dependent of one another" Watch "3 JComboBox dependent of one another" New topic
Author

3 JComboBox dependent of one another

Marwen Ben
Greenhorn

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
Bartender

Joined: May 03, 2008
Posts: 4658
    
    5

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: http://aspose.com/file-tools
 
subject: 3 JComboBox dependent of one another