Answers for "JLabel(icon,int)"

1

Jlabel icon

ImageIcon image = new ImageIcon("c:\\path\\image.png");
imagelabel = new JLabel(character, image, JLabel.CENTER);
frame.add(imagelabel);
Posted by: Guest on May-21-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language