Skip to Main Content

Java Development Tools

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 Get PanelStretchLayout to stretch to screen height

940512Jun 26 2012 — edited Jun 28 2012
Hi,

I would like to have a panelstretchlayout stretch to screen height whilst other components are scrollable within the panelstretchlayout.

I have gotten the panelstretchlayout together with some components within it with scroll and I am able to get it properly with the layout within as scrollable when I set a height of 500 px. However, I am unable to set the height to the screen height as it does not stretch to it.

I have tried AFStretchHeight and it does not seem to work. AFStretchWidth does work well.

Any advice or help will be much appreciated.

Thanks,
Zijian
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 26 2012
Added on Jun 26 2012
9 comments
378 views