Bring Java windows into foreground when dragging over them
David DeHaven
david.dehaven at oracle.com
Fri Jan 3 10:13:32 PST 2014
> when I drag something over a Finder window that is partially in the
> background it automatically brings itself in the background after a
> short delay. Is this something I have to specifically program into my
> Java application or is there some global flag/property to activate
> this behavior or anything else I have to know to achieve this
> properly?
I don't think that's a "free" behavior. It's possible the DnD handlers in Finder are just pushing the target window to the front after the delay.
You should be able to do the same by calling Frame.toFront() after some delay.
-DrD-
More information about the macosx-port-dev
mailing list