• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JComboBox Problem...Help

 
eddie xie
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17276
6
IntelliJ IDE Mac Spring
 
eddie xie
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes,
the combo box is perfectly ok in flow layout.
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic