Forums Register Login

How to set maximum size of the JFrame

+Pie Number of slices to send: Send
I want to set a maximum size of a JFrame when I click on the maximise button, but found no such method. Can any one help me. I don't want a frame to occupy the whole screen when press Maximise button,but want to set a perticular size for it.
Thanks.
+Pie Number of slices to send: Send
pls tell me if you know that
bluewhite@netease.com
Well THAT's new! Comfort me, reliable tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 4507 times.
Similar Threads
NX: Question about window's size
window maximize/restore events
Java layout manager sizing
frame setSize
Swing method to size component
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 04:23:06.