private void initComponents() {
   // TODO Auto-generated method stub
   for (Language language : Language.values()) {
     this.addItem(language.name());
   }
 }
 protected void fromComboBoxActionPerformed(ActionEvent e) {
   // TODO Auto-generated method stub
   String fromLangString = this.getSelectedItem().toString();
   preferenceModel.setFromLanguage(Language.valueOf(fromLangString));
 }