• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem of JComboBox:  RSS feed

 
biang lin
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
The popup portion of the JComboBox doesn't wide enough to display the whole text, so how to solve this problem?
Thanks.
 
Sebastiaan Kortleven
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try using the setPreferredSize method on the JComboBox...
 
biang lin
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sebastiaan Kortleven:
try using the setPreferredSize method on the JComboBox...

Thank you,I found a "steped jcombobox" here,that's what I'm talking about.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!