So I am creating a bunch of Window objects and setting them
to be of type UTILITY. I want to be able change other GUI
components when the user focuses on a specific window, and I can do
so for the most part. My problem is that I can't figure out which
event to use to recognize when the user simply clicks on the title
bar to bring the window to the front. Events such as Activation and
Move have more specific meanings and I can handle those events. I
have tried registering several handlers on both the titleBar of the
window and the window itself, but nothing seems to work.
I mentioned that they are UTILITY windows but that doesn't
really seem to matter -- I am having this same problem with the
main window of the WindowedApplication.
If anyone could help me out, it'd be greatly