If you have a reference to the CheckBox object it's just cb.setSelected(true).
I'm assuming this is an old GUI builder application in which case you would need to set a variable X and then in the before show of form 1 just call:
findMyCheckBox(f).setSelected(X);
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more