File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes ComboBox component (not JComboBox) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "ComboBox component (not JComboBox)" Watch "ComboBox component (not JComboBox)" New topic

ComboBox component (not JComboBox)

Mark Dorsett

Joined: Sep 13, 2004
Posts: 5
I am having difficulty with a combobox in Java. I have the combobox set up the items are loaded from a database. That all works. After the 100 or so items are loaded from the database and I click on the combobox arrow to display the combobox list, the combobox list extends the whole length of my frame and overlaps into my button area so the bottom of the combobox is not seen. Does anyone know of any properties or methods to fix this? I have tried many different things, but so far no success.
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
There is no ComboBox component in Java. So, what are you really using?

Are you using a List or a Choice?
[ September 21, 2004: Message edited by: Dirk Schreckmann ]

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Mark Dorsett

Joined: Sep 13, 2004
Posts: 5
ComboBox is a VisualCafe component. I didn't realize it was not "standard" java. Anyway, as it turns out, the order in which the combobox is placed on the panel was causing it to show its drop down list behind some of the other components. I resolved my problem by putting the combobox on the panel first. Thanks for your posting!
I agree. Here's the link:
subject: ComboBox component (not JComboBox)
jQuery in Action, 3rd edition