File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Setting a size Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "Setting a size" Watch "Setting a size" New topic
Author

Setting a size

Matthew Middleton
Greenhorn

Joined: May 05, 2004
Posts: 23
i am writing an application and i want the window to stay the same size, so it can't be maximized or resized. Does anyone know if there is a way you can do this in JFrame? Thank you and GOD bless

Matthew Middleton
Gregg Bolinger
Ranch Hand

Joined: Jul 11, 2001
Posts: 15230

setResizable(false).

The API is a glorious thing.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Setting a size
 
Similar Threads
PetStore
Prime numbers selected at random
Mistake(I think) on K&B's 1.4 book
Who should I buy mock or practice exams from for CX310-065?
Why am I getting a Null Pointer Exception???