How to add JCheckbox as the data in a table column
sanjay kams
Greenhorn
Joined: Jun 21, 2012
Posts: 5
posted
0
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
posted
1
the Swing tutorial for JTable includes
an example of using a JCheckbox.
If google can't find it, open the apidocs, follow the links.