@Override
public void actionPerformed(ActionEvent e) {
Locale loc = new Locale("de", "DE");
PolicyUtilities.setLoc(loc);
LanguageChanger langChanger = MainFrame.getLangChanger();
langChanger.setRb(PolicyUtilities.getResourceBundle());
langChanger.changeLanguage();
}
});
map.put(ActionKey.LANG_EN, new PolicyAction(ActionKey.LANG_EN, rb.getString("english")) {
@Override
public void actionPerformed(ActionEvent e) {
Locale loc = new Locale("en", "GB");
PolicyUtilities.setLoc(loc);
LanguageChanger langChanger = MainFrame.getLangChanger();
langChanger.setRb(PolicyUtilities.getResourceBundle());
langChanger.changeLanguage();
}
});
}