George H.
0
Q:

add jpg to JPanel

BufferedImage myPicture = ImageIO.read(new File("path-to-file"));
JLabel picLabel = new JLabel(new ImageIcon(myPicture));
add(picLabel);
0

Tags

New to Communities?

Join the community