aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes How to add JCheckbox as the data in a table column Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to add JCheckbox as the data in a table column" Watch "How to add JCheckbox as the data in a table column" New topic
Author

How to add JCheckbox as the data in a table column

sanjay kams
Greenhorn

Joined: Jun 21, 2012
Posts: 12
Hi

In my GUI page, contains a table. The table has four columns and also have add button. The add button dialog have a checkbox and some other stuffs and ok button. when we click ok button in add dialog, the entries are need to be entered into the table. The first column entry is a check box, it may be enabled or disabled based on the selection in the add dialog. But am not able to place the checkbox as a entry in the table

Can anyone help me please..

Thanks in Advance.
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
the Swing tutorial for JTable includes
an example of using a JCheckbox.

If google can't find it, open the apidocs, follow the links.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to add JCheckbox as the data in a table column