@Override
    public void setSettings(AppSettings settings) {
        this.settings = settings;
        if (context != null && settings.useInput() != inputEnabled) {
            // may need to create or destroy input based
            // on settings change
            inputEnabled = !inputEnabled;
            if (inputEnabled) {
                initInput();
            } else {
                destroyInput();
            }
        } else {
            inputEnabled = settings.useInput();
        }
    }
Set the display settings to define the display created.
<p>
Examples of display parameters include display pixel width and height,
color bit depth, z-buffer bits, anti-aliasing samples, and update frequency.
If this method is called while the application is already running, then
{@link #restart() } must be called to apply the settings to the display.

@param settings The settings to set.
jme3-core/src/main/java/com/jme3/app/LegacyApplication.java