public static void main(String[] args) {
   MojamComponent mc = new MojamComponent();
   guiFrame = new JFrame();
   JPanel panel = new JPanel(new BorderLayout());
   panel.add(mc);
   guiFrame.setContentPane(panel);
   guiFrame.pack();
   guiFrame.setResizable(false);
   guiFrame.setLocationRelativeTo(null);
   guiFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
   guiFrame.setVisible(true);
   Options.loadProperties();
   setFullscreen(Boolean.parseBoolean(Options.get("fullscreen")));
   mc.start();
 }
 public static void main(String[] args) {
   MojamComponent mc = new MojamComponent();
   guiFrame = new JFrame(GAME_TITLE);
   JPanel panel = new JPanel(new BorderLayout());
   panel.add(mc);
   guiFrame.setContentPane(panel);
   guiFrame.pack();
   guiFrame.setResizable(false);
   guiFrame.setLocationRelativeTo(null);
   guiFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
   ArrayList<BufferedImage> icoList = new ArrayList<BufferedImage>();
   icoList.add(Art.icon32);
   icoList.add(Art.icon64);
   guiFrame.setIconImages(icoList);
   guiFrame.setVisible(true);
   Options.loadProperties();
   setFullscreen(Boolean.parseBoolean(Options.get(Options.FULLSCREEN, Options.VALUE_FALSE)));
   mc.start();
 }