I really appreciate the help I got from my last porblem, I got another
I open another frame with a CheckBoxMenuItem and that works, same with the closing. However, I need the CheckBoxMenuItem to become unchecked when you close the other frame by the x in the titlebar. This is the code I used.
This compiles, but when I try it, I get this exception and it doesn't work, any ideas?