Hi Alexander,
Looks good for me.
Regards, Pavel
Hello,
Could you review the fix for the issue:
bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7161766
webrev: http://cr.openjdk.java.net/~alexsch/7161766/webrev.00/
The system can disallow to overlap the task bar for popup-menu even
the SecurityManager is not set.
There are systems which default security manager created by new
SecurityManager() allows to overlap the task bar.
So what it is possible to check is setting the security manager that
does not allow to be always on top and checking that the popup-menu
does not overlap the task bar in this case.
The fix sets a SecurityManager that throws the SecurityException for
the setWindowAlwaysOnTop property and checks that the popup-menu does
not ovelap the task bar.
Thanks,
Alexandr.