Get a j check box to call a method when selected
I've created a GUI with a couple of check boxes. I want one check box to call a method when selected and a different method when deselected and the same with the other check box but obviously with different methods. Had a look at the java documentation but couldn't work out. any ideas?