package graphics;

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

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

    public MainFrame(ResourceBundle bundle) throws HeadlessException {
        super(bundle.getString("title"));
        defaultFrameConfiguration();
    }

    private void defaultFrameConfiguration() {
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }

    public static void main(String[] args) {
        SwingUtilities.invokeLater(new Runnable() {
            @Override
            public void run() {
                ResourceBundle bundle =
                        ResourceBundle.getBundle("lang/bundle");
                new MainFrame(bundle);
            }
        });
    }
}

@@ -12,16 +12,59 @@
 phics;%0A%0A
+import log.IGLog;%0Aimport sun.applet.Main;%0A%0A
 import j
@@ -327,16 +327,61 @@
 tle%22));%0A
+        IGLog.write(%22Main frame creation.%22);%0A
         
@@ -673,24 +673,134 @@
 oid run() %7B%0A
+                IGLog.write(%22Launching the interface.%22);%0A                IGLog.info(%22Searching for bundle.%22);%0A
             
@@ -888,24 +888,70 @@
 g/bundle%22);%0A
+                IGLog.info(%22Bundle loaded.%22);%0A
             

add some log.