Originally Posted by
helloworld922
the parent class doesn't necessarily have to implement ActionListener.
I think I'm misunderstanding the point you are making....can you clarify?
Originally Posted by
helloworld922
Also, you have a totally unrelated class that may want to listen to that class's action events. I'd implement an addActionListener method in your class, and then send the event only to those that are listening to that panel.
Of course that would be one way if you want to have multiple listeners, although not the way I would want do it (but I rarely add multiple listeners so my experience in that realm is low)