Hi Sergey,
Thanks for the review. Indeed, the size constraints must be re-applied
in this case. Please find an updated fix here:
http://cr.openjdk.java.net/~anthony/x-15-frameMinSize-7124553.1/
--
best regards,
Anthony
On 2/15/2012 5:36 PM, Sergey Bylokhov wrote:
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/view_bug.do?bug_id=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