Hello I am setting image to JLabel as below
ImageIcon icon=new ImageIcon(PathToImage,"Image");
jLabel4.setIcon(icon);
I have set label size as 5cm x5 cm square. Whenever i am setting icon to Jlabel it is not shown fully .. only part of image is shown in jlabel. How to solve this ?
Thanks !