• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to prevent a frame from being maximized

 
Richards Milan
Greenhorn
Posts: 29
Android Java Mac
  • 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
  • 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
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic