Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Swing / AWT / SWT and the fly likes displaying checkbox in a list Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "displaying checkbox in a list" Watch "displaying checkbox in a list" New topic

displaying checkbox in a list

red goliath

Joined: Nov 23, 2001
Posts: 15
How can i display checkboxes ina Jlist.?
If not is ther any alternative method ?.
The check box must be displayed with its corresponding label .Aalso from the list i must be able to know which are all the check boxes that have been ticked ?
Vinod Venugopal
Ranch Hand

Joined: Dec 06, 2000
Posts: 148
Check out this piece of code at
Example of Check box in a list , you have to modify your mouselistener for ur own implementation.

- Vinod<br />-------<br />SCJP2
I agree. Here's the link:
subject: displaying checkbox in a list
Similar Threads
RAD6 :- Web Project referencing utility project
fields defined in a bean
Help needed understand JTWI 1.0 Spec
Problems with two connected for-loops