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

public class formes extends JComponent{

	public void horloge(Graphics pinceau)
	{
			
	}

	public static void main(String[] args) {
	 
		DisplayGraphics m = new DisplayGraphics();
		JFrame fenetre = new JFrame();
		fenetre.add(m);
	    fenetre.setSize(1000, 1000);
	    fenetre.setLocation(0, 0);

	    fenetre.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	    fenetre.setVisible(true);	
		}
}