This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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?
 
Similar Threads
Using JCheckBox as CellRenderer in JComboBox
using check box and combo box in JTable
two jcomboBox then
Keeping JComboBox Visible
Checked JComboBox