posted 17 years ago
Is it possible to use a similar system with a JPanel and the container the JPanel is in? Have the container add an ActionListener to a JPanel, and then make the JPanel fire an action event?
Ofcourse, you can make a JPanel listen to events. If you have a button and textarea in the JPanel, then whenever an event occurs in the text area or button, the same action takes place.