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!

Methods for auto-resizing panels in a JFrame

843806Jul 23 2008 — edited Jul 23 2008
Are there any methods by which we can auto-align the panel in a frame, when the frame is dragged and enlarged or maximized(without using layouts).
My problem is that, when I maximize a small frame, the panels which are at the centre initially does not get pushed to the centre when the frame is maximized; instead it remains in the left.
Rony
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 20 2008
Added on Jul 23 2008
17 comments
1,387 views