• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to set the JCheckBox to be "ticked" not by default  RSS feed

 
Samuel Chan
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just want to find a function that like jtextfield which can set by jtextfield1.setText("");
Thanks
 
Javaoops
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Can Use
checkButton.setSelected(true)

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!