Listening and responding to events inside a Panel ?
posted 2 years ago
I have a MainPanel. It contains SubPanel1, SubPanel2 etc. SubPanel can have any combination of JComponents like buttons, radio buttons, text boxes etc. One SubPanel may or may not be the same as another.
How do I make the MainPanel listen and respond to the actions taking place inside the SubPanels ?