// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
package demo;

import javax.swing.ImageIcon;
import javax.swing.JApplet;
import javax.swing.JLabel;

public class ImageIconApplet extends JApplet {
    public ImageIconApplet() {
        ImageIcon icon = new ImageIcon(getClass().getClassLoader().getResource("images/blue.jpg"));
        this.add(new JLabel(icon));
    }
}
