<AWT Dev> [8] Review request for 8016356: Any swing frame resizes ugly.

Oleg Pekhovskiy oleg.pekhovskiy at oracle.com
Sun Aug 25 05:40:54 PDT 2013


Hi all,

please review the fix
http://cr.openjdk.java.net/~bagiras/8016356.1/
for
http://bugs.sun.com/view_bug.do?bug_id=8016356

Windows 7 has a feature that makes "window being automatically arranged 
when moved to the edge of the screen". And there is no specific system 
notification when that happens. From the other side AwtWindow class has 
some optimization algorithm for resizing that doesn't take into account 
such the arranging. I found indirect way to determine the arranging by 
tracking the sequence of WM_GETMINMAXINFO and WM_SIZE before the end of 
resizing routine, and call WindowResized() when needed to update the layout.

Thanks,
Oleg


More information about the awt-dev mailing list