if (this.setdlg == null) { this.setdlg = new CommonSettingsDialog(this.frame);
if (setdlg == null) { setdlg = new CommonSettingsDialog(frame);
    private void showSettings() {        // Do we need to create the "settings" dialog?        if (this.setdlg == null) {            this.setdlg = new CommonSettingsDialog(this.frame);        }        // Show the settings dialog.        this.setdlg.setVisible(true);    }