import java.awt.*;
import java.awt.event.*;

public class ApplikationStarter extends java.applet.Applet implements ActionListener
{
   
    Button start = new Button("start");

    

    public void init() {
        //setBackground(Color.white);
        start.addActionListener(this);
        add(start);
        
    }
  
  
  
  
  
  
  
  
  
 public void actionPerformed(ActionEvent e)
{
 

    UI p = new UI();
    WindowListener l = new WindowAdapter()
      {
      public void windowClosing(WindowEvent e)
        {
        System.exit(0);
        }
      };
  p.addWindowListener(l);
    
}
}
