my dog learned polymorphism*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
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: 4523
    
    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
 
Similar Threads
Null Pointer Exception
problem while reading data from excel sheet
Trying to grab the last record.
Statement is closed?
BLOB insertion into the database hangs