Forums Register Login

JComboBox

+Pie Number of slices to send: Send
How to set the selected index as first visible index in JComboBox?
+Pie Number of slices to send: Send
jb.setSelectedIndex(Your Position);
+Pie Number of slices to send: Send
What I meant was that if I have a JComboBox displaying Names and if I press S from Key board then the selected name starting with S is shown as the last visible index.I want the selected index to be the first visible index.
Thanks
sushma
Here. Have a potato. I grew it in my armpit. And from my other armpit, this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 863 times.
Similar Threads
JComboBox Action Issues.
drop down menu
getRowForLocation(...) in JComboBox?
jComboBox
getSelectedIndex
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 02:23:43.