Don't have Telegram yet? Try it now!
https://kodejava.org/how-do-i-get-or-set-the-state-of-jcheckbox/
How do I get or set the state of JCheckBox?