jQuery in Action, 2nd edition
The moose likes Swing / AWT / SWT and the fly likes URGENT! JCombobox Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "URGENT! JCombobox Problem" Watch "URGENT! JCombobox Problem" New topic
Author

URGENT! JCombobox Problem

Ria Sood
Greenhorn

Joined: Dec 14, 2001
Posts: 1
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

Joined: Oct 04, 2001
Posts: 15
Take a look at the setMaximumRowCount methhod of the JComboBox class to set the number of rows in the drop down.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: URGENT! JCombobox Problem
 
Similar Threads
select tag
Drop Down Arrow in JButton
Problem with Reading Data from Database
about tomcat
Servlet which downloads a file