Review request for 7124553: [macosx] Need minimum size for titled Frames and JFrames (original) (raw)

Sergey Bylokhov sergey.bylokhov at oracle.com
Wed Feb 15 05:36:04 PST 2012


Hi, Anthony. What happens if small decorated nonresizable window became resizable(growbox will be shown). As far I understand window should increase its size? Correct?

15.02.2012 17:15, Anthony Petrov wrote:

Hello,

Please review a fix for http://bugs.sun.com/viewbug.do?bugid=7124553 at: http://cr.openjdk.java.net/~anthony/x-15-frameMinSize-7124553.0/ With this fix we constrain the size used for setBounds() and setMinMaxSize() operations so that it always includes the size of window decorations and the grow box when they're enabled. The size of (1, 1) is considered as the smallest possible size for a window in any case. -- best regards, Anthony

-- Best regards, Sergey.



More information about the awt-dev mailing list