I'm working on an application with a main window that is supposed to
work like the buddy-list windows in iChat or Skype. That is, the
buddy-list window can be closed (leaving no open windows). Later, when
the user switches back to my application, the buddy-list automatically
reopens itself.
Does a Java application receive any notification that the user has
switched to it (using command+tab or the dock)? And furthermore, is
it possible to detect this notification when there are no open
(visible) windows?
In the MRJ era, I used to create a secret window beyond the physical
screen which would come to the top when no other windows are open.
That window mainly served to hang a menu-bar from, but it also served
to detect application-switch events. Is that still the way to do it
in 2007?
Thanks,
Eric Smith
Tarkvara Design Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden