LangDialog langDlg = new LangDialog(this, java.util.ResourceBundle.getBundle("global").getString("maxWordLen"), true);
LangDialog langDlg = new LangDialog(this, "Define Word Length", true);
    public void guessLang() {        final FSA currAut;        final int wL;        LanguageThread langThread;                // den aktuellen Automaten bestimmen        currAut = side.getCurrentAut();                LangDialog langDlg = new LangDialog(this, java.util.ResourceBundle.getBundle("global").getString("maxWordLen"), true);                langDlg.setAlphaSize(currAut.getAlphabet().size());        langDlg.run();        wL = langDlg.getWordLength();                // User hat cancel gedrckt        if (wL==-1) return;                final BusyDialog busyDlg = new BusyDialog(this, "", true);                langThread = new LanguageThread(currAut, wL, busyDlg, side);                busyDlg.setWork(langThread);        busyDlg.run();    }