File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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

how to make a frame unexpandable?

david hu
Ranch Hand

Joined: Jul 20, 2001
Posts: 143
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 -

- Manish

[This message has been edited by Manish Hatwalne (edited October 21, 2001).]
I agree. Here's the link:
subject: how to make a frame unexpandable?
Similar Threads
manipulating frames
JInternalFrame Problems
Image in JFrame ???
Frames in HTML