On 11 December 2011 05:35, pavan vadavalli <[email protected]> wrote:
> Hi Chris,
> Thanks for the response , the option of overwriting the setMaximized is
> feasible since i have already extended Frame. I will let you know the
> results.
>
> Attached is a simple demo of java Frame maximize respecting the Bounds set
> in the form of Rectangle.

Maybe I have misunderstood that you want to do?

Do you just want to disable the maximize functionality of the Frame?
If so you can hide the maximize button by setting the
'showMaximizeButton' style to false (or override the
setMaximized(boolean) method as mentioned in my last email)

Or maybe you want to have the maximize button, but when pressed, it
would never expand beyond the preferred width/height that you
previously supplied?

Chris

Reply via email to