Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

URGENT! JCombobox Problem

 
Ria Sood
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I make the Combobox open up and not down. Is there any method to do that? another thing is how can I reduce the size of drop down so that it can take the scrollbar?
 
allen turner
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at the setMaximumRowCount methhod of the JComboBox class to set the number of rows in the drop down.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!