Forums Register Login

ComboBox component (not JComboBox)

+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
There is no ComboBox component in Java.

Is your question HTML or Swing/AWT based?
+Pie Number of slices to send: Send
I see you've started a duplicate thread in the Swing / AWT / SWT / JFace forum.

I'm closing this thread.
Squanch that. And squanch this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


Reply locked
This thread has been viewed 922 times.
Similar Threads
how to convert java ArrayList into JSON format data?
Filling ComboBox with Loads of Data
Dynamic Drop Down Lists.
symbol : constructor JComboBox(java.lang.String[],int,int)...cannot find symbol
Listener to call other component's listners
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 02:26:53.