| Author |
How to prevent a frame from being maximized
|
Richards Milan
Greenhorn
Joined: Jun 24, 2012
Posts: 29
|
|
|
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 ??
|
Do you know why Java programmers wear specs ? Its because they don't 'C#'
|
 |
Kemal Sokolovic
Bartender
Joined: Jun 19, 2010
Posts: 792
|
|
|
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.
|
The quieter you are, the more you are able to hear.
|
 |
Richards Milan
Greenhorn
Joined: Jun 24, 2012
Posts: 29
|
|
Thank you again Kemal Yes surely I ll check out the API doc before posting
|
 |
 |
|
|
subject: How to prevent a frame from being maximized
|
|
|