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

public class Mainfond{

		public static void main(String[] args) {

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