// 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 java.awt.event.*;
import javax.swing.*;

public class Stupid extends JFrame implements ActionListener {
    public Stupid() {
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        getContentPane().setLayout(null);
        this.setSize(200, 200);
        JButton btn = new JButton("Test");
        btn.setSize(80, 20);
        btn.setLocation(60, 80);
        getContentPane().add(btn);
    }
    public void actionPerformed(ActionEvent e) {
    }
    public static void main(String[] args) {
        Stupid f = new Stupid();
        f.setVisible(true);
    }
}
