This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes URGENT! JCombobox Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "URGENT! JCombobox Problem" Watch "URGENT! JCombobox Problem" New topic

URGENT! JCombobox Problem

Ria Sood

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

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:
subject: URGENT! JCombobox Problem
Similar Threads
Problem with Reading Data from Database
select tag
about tomcat
Drop Down Arrow in JButton
Servlet which downloads a file