posted 19 years ago
Your idea seems to work okay in the code below. You could also leave the listener in the same class as the component that it's registered on and have it call a method in the parent class to handle the notification of event occurrence.