public int getUserSelection() {
        return selection;
    }
/** Instantiate a <code>SettingsDialog</code> for the primary display.

@param source
           the <code>AppSettings</code> object (not null)
@param imageFile
           the image file to use as the title of the dialog;
           <code>null</code> will result in to image being displayed
@param loadSettings
           if true, copy the settings, otherwise merge them
@throws IllegalArgumentException
            if the source is <code>null</code>
jme3-awt-dialogs/src/main/java/com/jme3/awt/AWTSettingsDialog.java