> Greetings,
>
[quoted text clipped - 3 lines]
> stay a fixed size. I have looked through all the documentation and
> the set*Size() methods don't seem to do it for me.
frame.setResizable(false)
Matt Humphrey http://www.iviz.com/
Zerex71 - 29 Apr 2008 16:04 GMT
> > Greetings,
>
[quoted text clipped - 7 lines]
>
> Matt Humphreyhttp://www.iviz.com/
Thank you! I did not spot that in any of the methods in the
inheritance tree in the API documentation.
Mike
myFrame.setResizable(false);
What I want to know, is there a way to set a max/min size for a frame?
RedGrittyBrick - 30 Apr 2008 10:01 GMT
> myFrame.setResizable(false);
>
> What I want to know, is there a way to set a max/min size for a frame?
AFAIK the best you can do is catch resizing events and if the new size
is outside your bounds, resize the frame to bring it back within bounds.
This looks a bit odd to the user.

Signature
RGB
Zerex71 - 30 Apr 2008 15:25 GMT
On Apr 29, 9:27 pm, Chase Preuninger <chasepreunin...@gmail.com>
wrote:
> myFrame.setResizable(false);
>
> What I want to know, is there a way to set a max/min size for a frame?
You could try setMinimumSize(Dimension) and setMaximumSize(Dimension).