Swing combo boxes

Posted by Dalton Conley on Stack Overflow See other posts from Stack Overflow or by Dalton Conley
Published on 2010-04-19T01:27:10Z Indexed on 2010/04/19 1:33 UTC
Read the original article Hit count: 391

Filed under:

Alright, so I'm simply defining a combo box like so...

JComboBox yearSelect = new JComboBox(); 

Now, I have not even added this to a panel or anything, I've just defined it. When I run the app, nothing displays.. when I comment out this line.. the app displays the other panels like I want it to.. is there something I'm doing wrong? Maybe I'm forgetting something that has to do with combo boxes? I think it may be something stupid that I'm missing.

© Stack Overflow or respective owner

Related posts about swing