public static void main(String[] args) {
        // TODO code application logic here
        JFrame gameF = new JFrame("Space Invader");
        gameF.setContentPane(new GamePanel());
        gameF.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        gameF.setResizable(false);
        gameF.pack();
        gameF.setVisible(true);
    }