A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Java
»
Swing / AWT / SWT
Author
Could i use a JCheckBox as a item of JComboBox?
Ronyn Woods
Greenhorn
Joined: May 16, 2001
Posts: 27
posted
Apr 27, 2002 21:14:00
0
I wanna use a
JCheckBox
as a item of
JComboBox
,could i do so?
Arjun Anand
Greenhorn
Joined: May 24, 2001
Posts: 25
posted
Apr 29, 2002 01:29:00
0
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
Keeping JComboBox Visible
Checked JComboBox
using check box and combo box in JTable
two jcomboBox then
Using JCheckBox as CellRenderer in JComboBox
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter