Forums Register Login

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

+Pie Number of slices to send: Send
I just want to find a function that like jtextfield which can set by jtextfield1.setText("");
Thanks
+Pie Number of slices to send: Send

Can Use
checkButton.setSelected(true)

Catch Ernie! Catch the egg! And catch this tiny ad too:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 876 times.
Similar Threads
How to retrieve Date from JDBC using sql
how to create an Array of JTextField !!!!
Reset All Fields in Add User Screen
JTextField - Restrict length
Button Action using netbeans
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 04:50:42.