This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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

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: 2591

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

- Manish

[This message has been edited by Manish Hatwalne (edited October 21, 2001).]
Have you checked out Aspose?
subject: how to make a frame unexpandable?
It's not a secret anymore!