This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes 3 JComboBox dependent of one another Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply 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: 4206
    
    3

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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: 3 JComboBox dependent of one another
 
Similar Threads
problem while reading data from excel sheet
Trying to grab the last record.
Statement is closed?
BLOB insertion into the database hangs
Null Pointer Exception