public class MainPolyligne {
    public static void main(String[] args) {
        JFrame frame = new JFrame("Polyligne");
    	frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        
        Polyligne truc = new Polyligne();

        frame.setSize(500,500);
    	frame.setLocation(500,250);
    	frame.setVisible(true);
    }
}