aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes JComboBox Problem...Help 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 » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "JComboBox Problem...Help" Watch "JComboBox Problem...Help" New topic
Author

JComboBox Problem...Help

eddie xie
Greenhorn

Joined: Jul 05, 2002
Posts: 2
I use a JComboBox to select the fields
I add this JComboBox in a GridBagLayout,but it does not pop down.
i hv chk it carefully,the JComboBox is ok.It response for my keybord action.
How can I do with this problem.Should I read more information about layer??
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17257
    
    6

Is there data in the JComboBox?
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
eddie xie
Greenhorn

Joined: Jul 05, 2002
Posts: 2
yes,
the combo box is perfectly ok in flow layout.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17257
    
    6

That's a weird issue.
In my code I have a new JComboBox that I add to the container/contentPane and that's all, and it worked fine.
Anything else you might think could cause it. What does your GUI code look like when adding the ComboBox. What are your GridBagContraints set too?
Mark
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JComboBox Problem...Help