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..
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
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.
Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
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.
KevinWorkman (November 6th, 2012)
Thanks curmudgeon...
could you please tell me how to use popup for my list box at required position..
Thanks in advance...