-2

I have 10 images in one JPanel in JFrame. I want to resize all these images when user resize the JFrame window.

Hiren
  • 1
  • 1
  • possible duplicate of [resizing image in java](http://stackoverflow.com/questions/5895829/resizing-image-in-java) – alex2410 Feb 16 '15 at 13:10

1 Answers1

0
  1. Use a GridLayout to display the images. The grid will resize as the frame is resized.

  2. Use Darryl's Stretch Icon to display the Icon on a JLabel. The Icon will automatically resize itself.

camickr
  • 321,443
  • 19
  • 166
  • 288