// 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) 
import javax.swing.*;

public class IMG extends JFrame {
    public IMG() {
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        getContentPane().add(new JLabel(new ImageIcon("C:\\blue.gif")));
        pack();
    }
    public static void main(String[] args) {
        IMG f = new IMG();
        f.show();
    }
}
