Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to set minimum size to JFrame?

843804Nov 26 2002 — edited Dec 20 2007
Is there way to set minimum size to JFrame to prevent JFrame from being resized less than mininum size?

And Can I check resize event?
For example in C# there is Resize event that fires when user resize Form(JFrame in Java). How can I detect JFrame(or other component) resize in Java?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 17 2008
Added on Nov 26 2002
20 comments
799 views