@Override
    public void reshape(int width, int height) {
        super.reshape(width, height);

        // Need to move text relative to app height
        if (txt != null) {
           txt.setLocalTranslation(0, settings.getHeight(), 0);
           txt.setText("Drag the corners of the application to resize it.\n" +
                       "Current Size: " + settings.getWidth() + "x" + settings.getHeight());
        }
    }
Tests the capability to resize the application window.

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