Add image to AWT frame

/ Published in: Java
Save to your folder(s)

The attached article is also actually very funny.

Copy this code and paste it in your HTML
  1. new JLabel (new ImageIcon (ImagePanel.class.getResource("some_jpeg.jpg")))


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.