File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to prevent a frame from being maximized

 
Richards Milan
Greenhorn
Posts: 29
Android Java Mac
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont want the size of my application to be changed that is I dont want my app to be maximized . Which method should I use to achieve this ??
 
Kemal Sokolovic
Bartender
Posts: 825
5
Java Python Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you just checked the API, you would have found the answer much faster than posting it here. There is a method frame.setResizable(false); that does the job.
 
Richards Milan
Greenhorn
Posts: 29
Android Java Mac
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you again Kemal Yes surely I ll check out the API doc before posting
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic