A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Could i use a JCheckBox as a item of JComboBox?
Joined: May 16, 2001
Apr 27, 2002 21:14:00
I wanna use a
as a item of
,could i do so?
Joined: May 24, 2001
Apr 29, 2002 01:29:00
Yes, You can. You have to provide a Custom Renderer to display the items as checkboxes instead of Labels (which is the default).
subject: Could i use a JCheckBox as a item of JComboBox?
using check box and combo box in JTable
two jcomboBox then
Keeping JComboBox Visible
Using JCheckBox as CellRenderer in JComboBox
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015