On Sat, Jan 4, 2014 at 2:02 AM, Mike Swingler <swing...@apple.com> wrote:
> On Jan 3, 2014, at 10:13 AM, David DeHaven <david.deha...@oracle.com> wrote:
>
>>
>>> 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.
>
> This is not standard AppKit behavior, but rather, standard Carbon / Classic 
> Mac OS behavior. At this point, Finder is simply emulating this behavior 
> programmatically. As David says, Frame.toFront() should do the right thing in 
> this case.
>

Thanks to both of you! I will do that then.

Reply via email to