public static void main(String[] arg) {
   LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
   config.title = Application.TITLE;
   config.width = Application.VIEWPORT_WIDTH;
   config.height = Application.VIEWPORT_HEIGHT;
   config.backgroundFPS = 60;
   config.foregroundFPS = 60;
   config.resizable = true;
   new LwjglApplication(new Application(), config);
 }
  /**
   * Create a new desktop game that is drawn using libGDX.
   *
   * @param gameListener the game listener that receives the updates regarding the game
   * @param width the width of the game container
   * @param height the height of the game container
   * @param fullScreen the full screen flag of the container
   * @throws GdxEngineException in case the initialization goes wrong
   */
  public ApplicationGameContainer(
      GameListener gameListener, int width, int height, boolean fullScreen)
      throws GdxEngineException {
    this.gameListener = gameListener;
    config = new LwjglApplicationConfiguration();
    config.forceExit = false;
    config.vSyncEnabled = true;
    config.backgroundFPS = 10;
    config.foregroundFPS = 60;

    windowHeight = height;
    windowWidth = width;
    fullScreenResolution = getFittingFullScreenResolution(width, height);
    if (fullScreen) {
      config.height = fullScreenResolution.getHeight();
      config.width = fullScreenResolution.getWidth();
    } else {
      config.height = height;
      config.width = width;
    }
    config.fullscreen = fullScreen;
  }