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 Programmer Certification (SCJP/OCPJP) and the fly likes how to make a frame unexpandable? 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 » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "how to make a frame unexpandable?" Watch "how to make a frame unexpandable?" New topic
Author

how to make a frame unexpandable?

david hu
Ranch Hand

Joined: Jul 20, 2001
Posts: 143
Hi,
I want to display a frame on the screen. And I wish the size of the frame can not be changed by the user. How to do it?
Manish Hatwalne
Ranch Hand

Joined: Sep 22, 2001
Posts: 2578

use setResizable(false) method of frame.
From JDK API -

HTH,
- Manish

[This message has been edited by Manish Hatwalne (edited October 21, 2001).]
 
wood burning stoves
 
subject: how to make a frame unexpandable?
 
Similar Threads
Image in JFrame ???
awt
JInternalFrame Problems
Frames in HTML
manipulating frames