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!

Images In Java

843805Feb 18 2007 — edited Feb 19 2007
Hi,

Ive got a JLabel at the moment that has an image in it (through the icon functionaility)

Now currently the image is large and the panel epands to fit that image.

Ive got this in a split pane, which is of set size, but the panes expand if the user drags the divider but not the window size.

What i want is for the image to fill the pane within the split pane (by resizing not cropping) and then resize as I expand the panel by adjusting the dividers.

Pleas ask if its not clear, its hard to put this question across...

Many Thanks For Any help

Cheers
Alex
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 19 2007
Added on Feb 18 2007
11 comments
176 views