Answers for "java image box"

1

java swing pic

BufferedImage myPicture = ImageIO.read(new File("path-to-file"));
JLabel picLabel = new JLabel(new ImageIcon(myPicture));
add(picLabel);
Posted by: Guest on June-10-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language