Bookmark Topic Watch Topic
  • New Topic

ComboBox component (not JComboBox)

 
Mark Dorsett
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Report post to moderator
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.
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Report post to moderator
You will probably get a better response if you post this question to the Swing/AWT forum. In the meantime, you should look at the Java API documentation for the version of Java that you are using. There may be a method that limits the number of items that the ComboBox displays.

-Layne
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Report post to moderator
There is no ComboBox component in Java.

Is your question HTML or Swing/AWT based?
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Report post to moderator
I see you've started a duplicate thread in the Swing / AWT / SWT / JFace forum.

I'm closing this thread.
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic