Hi,
I want to use multi select combobox in my swing application.. because i want to select mulltiple options and i want to print those options separated by comma symbol.. can any tell me how to use it..
Printable View
Hi,
I want to use multi select combobox in my swing application.. because i want to select mulltiple options and i want to print those options separated by comma symbol.. can any tell me how to use it..
Which part of this are you having trouble with?
I believe what you are looking for is a JList, not a JComboBox.
Thanks Kevin...
yah. but in my form i have multiple components. in that i want to select multiple options from a list and i want to add it to textbox after that i want to invisible list box at run time.. but at run if i place any list box already placed components places will be change.. and also after selection if i want to invisible that list box then again i want to change my components places..
Kevin, looks like he's already been told this before, but doesn't seem to believe us.
@original poster: so pop up your JList in a JDialog if need be. But again, you shouldn't use a JComboBox for this, no matter how many forums you try to ask this question in.
Thanks curmudgeon...
could you please tell me how to use popup for my list box at required position..
Thanks in advance...