wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Could i use a JCheckBox as a item of JComboBox? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Could i use a JCheckBox as a item of JComboBox?" Watch "Could i use a JCheckBox as a item of JComboBox?" New topic
Author

Could i use a JCheckBox as a item of JComboBox?

Ronyn Woods
Greenhorn

Joined: May 16, 2001
Posts: 27
I wanna use a JCheckBox as a item of JComboBox,could i do so?
Arjun Anand
Greenhorn

Joined: May 24, 2001
Posts: 25
Yes, You can. You have to provide a Custom Renderer to display the items as checkboxes instead of Labels (which is the default).

Arjun


Arjun
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Could i use a JCheckBox as a item of JComboBox?