aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes How to avoid user to resize and maximize the frame? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to avoid user to resize and maximize the frame?" Watch "How to avoid user to resize and maximize the frame?" New topic
Author

How to avoid user to resize and maximize the frame?

Mindy Wu
Ranch Hand

Joined: Jan 12, 2001
Posts: 121
I create a frame and I don't want user to resize and maximize the frame after executed?
Thanks
Mindy
Golam Newaz
Ranch Hand

Joined: Jan 08, 2001
Posts: 64
Hi,
Kindly type the following code into your program like inside
your constructor method:
setResizable(false);
Thanks,
Sayeed
Golam Newaz
Ranch Hand

Joined: Jan 08, 2001
Posts: 64
Hi,
Kindly type the following code into your program like inside
your constructor method:
setResizable(false);
Thanks,
Golam Sayeed Newaz
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to avoid user to resize and maximize the frame?