code: @Override
  	public void initGraphics(Graphics g) {
  	    rootObjectIsInitialized = true;
  	    rootCanvas = new RootCanvas();
  
  	    eventListener.start();
  
  // TODO fix
  //	    if (runAsApplication) {
  //	        if(windowFrame != null) {
  //	            if (!initialFullScreen) {
  //	                Insets insets = windowFrame.getInsets();
  //	                windowFrame.setSize(panelWidth  + insets.left + insets.right,
  //	                                    panelHeight + insets.top  + insets.bottom);
  //	            }
  //	        }
  //	    } else {
  //	        this.isInitializing = false;
  //	    }
  
  	    setFPS(fps);
  	}
docs: -------------------------------------------------------------------------