File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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?