How to set true in a checkbox that is in a table? java [closed]

1

Holas people, I have a table in netbeans where one of the columns has a boolean value, that is to say it turns it into a checkbox, my theme is that I want the checkboxes to be marked by default ... and I can not find as

    
asked by Janet Perez 02.01.2017 в 19:34
source

1 answer

0

If you are using swing, use the setSelected()

method
myCheckBox.setSelected(true);
    
answered by 02.01.2017 в 19:38