Images In Java
843805Feb 18 2007 — edited Feb 19 2007Hi,
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