If each picture corresponds to a file, create different ImageIcon's, and add one to a JLabel. When you want to change the image, call setIcon() on the JLabel with the new ImageIcon corresponding to...
Type: Posts; User: copeg
If each picture corresponds to a file, create different ImageIcon's, and add one to a JLabel. When you want to change the image, call setIcon() on the JLabel with the new ImageIcon corresponding to...
I don't know what you are asking...how does changing the image path directly relate to its visibility in a user interface? It seems you are having trouble arranging components and JLabels in a...