@Override
    public void simpleInitApp() {
        flyCam.setDragToRotate(true);
        
        Box b = new Box(1, 1, 1);
        Geometry geom = new Geometry("Box", b);
        Material mat = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
        mat.setTexture("ColorMap", assetManager.loadTexture("Interface/Logo/Monkey.jpg"));
        geom.setMaterial(mat);
        rootNode.attachChild(geom);
        
        txt = new BitmapText(loadGuiFont());
        txt.setText("Drag the corners of the application to resize it.\n" +
                    "Current Size: " + settings.getWidth() + "x" + settings.getHeight());
        txt.setLocalTranslation(0, settings.getHeight(), 0);
        guiNode.attachChild(txt);
    }
Tests the capability to resize the application window.

@author Kirill Vainer
jme3-examples/src/main/java/jme3test/app/TestResizableApp.java