Posted By

monkey103 on 02/10/09


Tagged

image imageicon jlabel


Versions (?)

Add image to AWT frame


 / Published in: Java
 

URL: http://java.dzone.com/news/how-not-write-java

The attached article is also actually very funny.

  1. new JLabel (new ImageIcon (ImagePanel.class.getResource("some_jpeg.jpg")))

Report this snippet  

You need to login to post a comment.