Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to use apple.awt.delayWindowOrdering



I don't want a window to come to front immediately, when a user clicks on a list, table or a tree.

Setting the client property apple.awt.delayWindowOrdering=true on a JRootPane seems to achieve this halfway through.

http://developer.apple.com/technotes/tn2007/tn2196.html#APPLE_AWT_DELAYWINDOWORDERING

On mouse pressed, on any area on the window, it doesn't bring the window to front.
This is exactly what I need for lists, tables and trees - but not for the other components.


I think, I could implement the right behavior for all the other components by myself, by calling window.toFront(), on mouse pressed on any of the other components.

But it appears, that the client property has the effect, that on mouse click, the window is always brought to front.

So I wonder, whether I am supposed to call toFront() by myself, or whether there is something else I should do, to get the desired behavior?

-Werner
_______________________________________________
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

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.