protected void beforeSurah(Form f) { // If the resource file changes the names of components this call will break notifying you that // you should fix the code super.beforeSurah(f); try { selectSurah = findSurahSelect(f); selectSurah.setVisible(false); } catch (Exception e) { Dialog.show(null, "beforeSurah excepption", "OK", null); } }