I want to set my main frame (whole application) not resizable by the user. Can anyone tell me how to do it?
When I set minimum and maximum size in layout design it does not work. I'm still able to resize the whole application.
Assuming you are using Swing and a JFrame
, call setResizable(false)
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With