I need a componentto:
1. Display a list of values.
2. Allow the user to select multiple values in that list.
3. User should be able to use the drop down component as a text field also to type in a string.
I could have used jcombobox but it does not allow multiple value selection.
which component should i use?
/*Earlier posted this thread under 2D but Swing is better category*/
Edited by: 910816 on Jul 24, 2012 4:14 AM
There is no such component in Swing and I've never seen a third party component that does something like it either (not that I've been looking for one).
This is a nice blog that has many extensions and improvements on Swing components - perhaps you'll find something interesting in there:
found an article with heading 'List Editor' using that link you provided. lets see if it fits my requirement. Thanks
Also i have changed the third point of my original post. Basically i am looking for a jcombox but with an additional functionality of user able to make multiple selection like in a JList.
Here's an old thread about having a drop-down of checkboxes. Not sure if that's the same as what you want. Reply 13 (or so) has the working example: Multi-selectable drop-down list
p.s. - thanks again, Torgil !