@@ -0,0 +1,1031 @@
+/*%0A * To change this template, choose Tools %7C Templates%0A * and open the template in the editor.%0A */%0Apackage cz.vutbr.fit.pdb;%0A%0Aimport java.awt.Dimension;%0Aimport java.awt.Toolkit;%0Aimport javax.swing.JFrame;%0A%0A/**%0A *%0A * @author casey%0A */%0Apublic class Core %7B%0A    %0A    private JFrame mainWindow;%0A    %0A    %0A    public Core()%7B%0A        mainWindow = new JFrame(%22PDB 2013%22);%0A        mainWindow.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);%0A        %0A    %0A    %7D%0A    %0A    %0A    private void setOnCenter(Dimension frameSize)%7B%0A        Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();%0A        mainWindow.setLocation(screenSize.width / 2 -frameSize.width / 2, screenSize.height /2 - frameSize.height / 2);%0A    %0A    %7D%0A    %0A    %0A    public static void maina(String%5B%5D args)%7B%0A        javax.swing.SwingUtilities.invokeLater(new Runnable() %7B%0A%0A            @Override%0A            public void run() %7B%0A                Core c = new Core();%0A                //c.initGui();%0A                //c.showGui();%0A            %7D%0A        %7D);%0A    %0A    %7D%0A%7D

Create contructor and main method.