How can I fire an event on another control?
For example, get the windowlistener to fire the close button (without making a generic function that the action and window listeners call to do so)?
Depends on the type of control, but if your control inherits from AbstractButton (such as a radio button etc)you can invoke the doClick() method of that class and it is the same as if you triggered the event directly.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.