import java.awt.*;
import javax.swing.*;

public class Mainattente{

		public static void main(String[] args) {

		JFrame fenetre = new JFrame();
		Attente pan = new Attente();
		fenetre.setSize(500, 500);
    	fenetre.setLocation(0, 0);
    	fenetre.addWindowListener(pan);
    	fenetre.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		fenetre.setContentPane(pan);
		fenetre.setVisible(true);
	}
}