Forums Register Login

question on editable combobox on Swing

+Pie Number of slices to send: Send
hello,

I have some question on Swing's editable combox option.
The question is if there is an option to make the combobox editable but editable only for options that are in in the list of options that already have been added to the combox list of options. i want to use the keyboard as filter to unrelevant options.

10x ahead,
netanel
+Pie Number of slices to send: Send
sounds like it requires a 'roll-your-own' solution..


what about adding a keylistener that matches input to items in the combo data model, suppresses non-matches...? (a variation on auto-complete fn)
"How many licks ..." - I think all of this dog's research starts with these words. Tasty 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 1097 times.
Similar Threads
Populating a combobox dinamically from a database
select item from editable combobox
Populating a dependant select list without reloading the page
Jsp
Populating a dependant select list without reloading the page
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 07:34:47.