Parent class event listener
posted 12 years ago
I have a main gui that calls out a form for the user to fill out as a child class. I want the parent class(main gui) to know when the user clicks a button, so I was wondering if it's possible to create an event listener connected to the button from the parent class. I made the button public and could create the action event listener for the button in the parent class, but it still wouldn't recognize the button being clicked. Any help would be great, thanks.