I have an application where the user can have multiple windows displayed.
How can I determine when a window becomes active? - i.e. the user has selected the window by clicking on it, or one of its components.
I have added FocusListeners to the components in the window which works to a certain extent but I don’t think it is a particularity good solution - I would like a generalized event that is fired whenever the entire window becomes active - even if the user simply clicks on the title bar.
@Jouni:
Ok!
next time i will have more courage and i’ll create the ticket myself -_-
Nice to see that the people involved in this forum have passion and they love what they do.
Thanks again.