Apologize if i wasnt clear enough

The below is what i was looking for and the API that you have pointed is also 
in relation this.

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

To be clear in what i was trying to achieve, I am trying to finish the MDI Implementation for Pivot.
main Display window using Split Pane split to Display Area and Task bar
I completed the "Task Bar" container for Minimized controls with scroll Bar.
and specific "Internal Frames" that could be added to the "Desktop" .

Now trying to implement the issues of
1. Internal Frames getting "locked" to the main Display area not overwriting the Task Bar
2. Resizing of Internal Frames.
3. Resizing the Main Display would reset the Location , height , width of the Visible Internal Frames.

All the above functionality are locked with ability to control the resizing capacities of the Frame.

Thanks and Regards,
Pavan


On 11/12/2011 9:45 AM, Chris Bartlett wrote:
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