package graphics;

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

/**
 * Created by tratost on 15/04/15.
 */
public class MainFrame extends JFrame {

    public MainFrame() throws HeadlessException {
        super("All'a bataille !!");
    }


}

@@ -231,11 +231,226 @@
 %0A    %7D%0A%0A
+    public static void main(String%5B%5D args) %7B%0A        SwingUtilities.invokeLater(new Runnable() %7B%0A            @Override%0A            public void run() %7B%0A                new MainFrame();%0A            %7D%0A        %7D);%0A    %7D
 %0A%7D%0A

add main on the main frame.