if (dialog.isCancelled()) System.exit(0);
    protected void getAttributes() {        properties = new PropertiesIO("properties.cfg");        boolean loaded = properties.load();        if ((!loaded && dialogBehaviour == FIRSTRUN_OR_NOCONFIGFILE_SHOW_PROPS_DIALOG)            || dialogBehaviour == ALWAYS_SHOW_PROPS_DIALOG) {            LWJGLPropertiesDialog dialog = new LWJGLPropertiesDialog(properties, dialogImage);            while (dialog.isVisible()) {                try {                    Thread.sleep(5);                } catch (InterruptedException e) {                    LoggingSystem.getLogger().log(Level.WARNING, "Error waiting for dialog system, using defaults.");                }            }        }    }