File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 JCheckBox as a item of JComboBox,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).
I agree. Here's the link:
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-2014