File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes How to make JFrame NON-Resizeable? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to make JFrame NON-Resizeable?" Watch "How to make JFrame NON-Resizeable?" New topic
Author

How to make JFrame NON-Resizeable?

Prosenjit Banerjee
Ranch Hand

Joined: Dec 18, 2002
Posts: 102
Hi,
Somebody please tell me how can I restrict the user to resize the form? i.e. how to make a form NON-Resizeable?
Thank you.


Always say the TRUTH only
Freddy Wong
Ranch Hand

Joined: Sep 11, 2006
Posts: 959

Call setResizable(false).


SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
My Blog
Prosenjit Banerjee
Ranch Hand

Joined: Dec 18, 2002
Posts: 102
Thank you very much, Freddy.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to make JFrame NON-Resizeable?