I have this Java Swing code :
ImageIcon img;
img = new ImageIcon("./pictures/icon2.jpg");
label1.setIcon(img);
I change the size from the label but i need a very big label to show a big image.I need when someone click on this label to open the image in another window in full screen without set it in another bigger label or to show the full image in a smaller from image size label !!!
Aucun commentaire:
Enregistrer un commentaire