else if(cmd.equals("forceindex")) { forceIndex(); }
    public void actionPerformed(ActionEvent event)    {        String cmd = event.getActionCommand();        if(cmd.equals("opendic")) {            openDictionary();        } else if(cmd.equals("print")) {            printEntry();        } else if(cmd.equals("info")) {            //show info dialog            InfoDialog dlg = new InfoDialog(this, true, i18n);            dlg.setVisible(true);            //JOptionPane.showMessageDialog(this, MessageFormat.format(i18n.getString("infoText"),  i18n.getString("progName"), i18n.getString("progVers")), i18n.getString("infoTitle"),JOptionPane.INFORMATION_MESSAGE);        } else if(cmd.equals("quit")) {            //quit            saveConfig();            System.exit(0);        }        else if(cmd.equals("chooseEnglisch")) {          changeLanguage(null, null, null);        }        else if(cmd.equals("chooseGerman")) {          changeLanguage("de", null, null);        }                else if(cmd.equals("chooseFrench")) {          changeLanguage("fr", null, null);        }        else if(cmd.equals("chooseNorwegian")) {          changeLanguage("no", null, null);        }    }