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

public class SimpleGUI extends JFrame {
   public SimpleGUI() {
      setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
      Date date = new Date();
      SimpleDateFormat df = new SimpleDateFormat("ddMMyy");
      String s = df.format(date);
      getContentPane().add(new JLabel("Today: " + s));
      pack();
   }
   public static void main(String[] args) {
      SimpleGUI f = new SimpleGUI();
      f.show();
   }
}
