public static void main(String[] args) {
        TestMonitorApp app = new TestMonitorApp();
        AppSettings settings = new AppSettings(true);
        settings.setResizable(false);
        app.setShowSettings(true);
        settings.setRenderer(AppSettings.LWJGL_OPENGL33);
        settings.setDisplay(0);
        settings.setResolution(800, 600);

        settings.setFullscreen(true);

        // Force JME to center the window, this only applies if it is
        // not fullscreen.
        settings.setCenterWindow(true);

        // If center window is not turned on, you can force JME to
        // open the window at certain x,y coords. These are ignored
        // if the screen is set to "fullscreen".
        settings.setWindowXPosition(0);
        settings.setWindowYPosition(0);

        try {
            // Let's try and load the AppSetting parameters back into memory
            InputStream out = new FileInputStream("TestMonitorApp.prefs");
            settings.load(out);
        } catch (IOException e) {
            System.out.println("failed to load settings, reverting to defaults");
        }
        app.setSettings(settings);

        app.start();
    }
Tests the capability to change which monitor the window will be created on.
Also, shows that you can force JME to center the window. Also, it shows to to
force JME to set the window to x,y coords. Center window and window position
doesn't apply if in fullscreen.

@author Kevin Bales
jme3-examples/src/main/java/jme3test/app/TestMonitorApp.java