Multiple Select in Swing Combo Box
1 posts in topic
Flat View  Flat View

Posted By:   Bharath_Krishna
Posted On:   Saturday, January 25, 2003 05:05 AM

Will I be able to do a multiple select in a Swing Based Combo Box

Also how do I embedd this swing combo box in a html page

Note that in that html page I need to add some HTML code as well as embedd the Combo box

If anyone can help me in this it would be helpful for me.


Bharath Krishna

Re: Multiple Select in Swing Combo Box

Posted By:   Bahman_Barzideh  
Posted On:   Monday, January 27, 2003 06:01 AM

JComboBox can/should only support single select (in its
passive state, it can only show one of the entries from its list).
You can use JList for multiple selection.

I am not sure what you mean by embedding but you can show/work with
any Swing component in a browser by using an Applet. In addition,
HTML has a built-in selection mechanism equivalent to JComboBox. If all
you need is a JComboBox-like widget, you should use HTML's built in
About | Sitemap | Contact