This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design 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: 17271
    
    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: 17271
    
    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
 
Have you checked out Aspose?
 
subject: JComboBox Problem...Help
 
It's not a secret anymore!