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!

JFrame resize dynamically in response to content pane size changes

843806Feb 27 2009 — edited Feb 28 2009
Hi -
I have a JFrame that uses CardLayout. The CardLayout panel content is of varied dimensions. it means the JComponents added to CardPanel will change size dynamically.
Is it possible to have the JFrame resize dynamically in response to the content of the CardLayout panel changing?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 28 2009
Added on Feb 27 2009
7 comments
1,849 views