This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Consider Paul's rocket mass heater.
 
subject: How to avoid user to resize and maximize the frame?
 
Similar Threads
Resizing JFrame
how to Positioning a Frame??
Urgent - controlling frame restore/maximize button
how to make a frame not resizeable ?
Frame resizing