posted 20 years ago
Hi
I'm not sure I understand your question very well. In the code below the actionPerformed method, and methods in general, do not hold state. The class that the method is in can hold state. And yes, you can certainly arrange for your JCheckBoxMenuItem to fire events.
Maybe you can use this example app to clarify what you want.