spellingLanguage = resourceController.getLanguageCode();
}
if (!spellingLanguage.equals("disabled")) {
SpellChecker.setLanguage(spellingLanguage);
}
languageChangeListener = new LanguageChangeListener() {
public void languageChanged(final LanguageChangeEvent ev) {
EventQueue.invokeLater(new Runnable() {
public void run() {
final Locale currentLocale = ev.getCurrentLocale();
if (currentLocale == null) {