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!

Proportional window resize?

843806May 23 2008 — edited May 23 2008
I'm wondering if there is any way to force a proportional resize for a JFrame? What I'm looking for is much like ctrl+click (or is it alt+click) in Photoshop. I'm aware of adding a ComponentListener and implementing componentResized, but this 'snaps' to the correct size after the mouse is released. I'm looking for something that is more real time if it is possible.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 20 2008
Added on May 23 2008
9 comments
620 views