Check Boxes in a JList
2 posts in topic
Flat View  Flat View

Posted By:   Almas_Khan
Posted On:   Friday, April 13, 2001 05:42 AM

I'm working on an application where I need to add checkboxes in a JList dynamically. Can anyone help me out in this. Its really urgent as we have a deadline.

Re: Check Boxes in a JList

Posted By:   Scott_Stanchfield  
Posted On:   Wednesday, April 25, 2001 07:54 AM

Check out www.codeguru.com/java. They have some examples of using checkboxes inside various Swing components. If they don't have one for a JList, check JTree and JTable. Same concepts apply.

Re: Check Boxes in a JList

Posted By:   Kelly_Ryan  
Posted On:   Tuesday, April 17, 2001 06:12 AM

If you want the checkboxes to be interactive you are better off using a JTable instead of the JList. Your table will be boring with only one column but you will beable to change the state of the checkbox.
About | Sitemap | Contact