A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
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).
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. 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-2015