File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT / JFace and the fly likes URGENT! JCombobox Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT / JFace
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.
 
IntelliJ Java IDE
 
subject: URGENT! JCombobox Problem
 
Threads others viewed
Problem with Reading Data from Database
about tomcat
select tag
Servlet which downloads a file
Drop Down Arrow in JButton
MyEclipse, The Clear Choice