Receiving events from an inner class
Hello,
I have two classes: ClassA and ClassB. Within ClassB, I have an inner class, InnerB.
InnerB is a JCheckbox. When the JCheckbox is selected/deselected, ClassA needs to know about it.
Whats the correct way to handle such a situation where an event is fired by an inner class and has to be received by an external class. How does the external class (ClassA) register as a listener to the inner class (InnerB)?
InnerB is a custom rendering component for ClassB, so thats why I have it as an inner class within ClassB.

