code: public static void runAsApplication(Game game, int width, int height, boolean fullscreen) {
  		try {
  			AppGameContainer container = new AppGameContainer(game, width, height, fullscreen);
  			container.start();
  		} catch (Exception e) {
  			e.printStackTrace();
  		}
  	}
docs: Start the game as an application
  
  @param game The game to be started
  @param width The width of the window
  @param height The height of the window
  @param fullscreen True if the window should be fullscreen