I have a label in my program that displays an image. The problem is, if an image is selected that is larger than the label, only part of the image is displayed.
How do I display the entire image?
image = new ImageIcon(movpath);
l5=new JLabel(image);
l5.setBounds(360,300,200,200);
p1.add(l5);
Help needed in reference with the above code