}
});
JLabel labelMTheoryName = new JLabel(resource.getString("nameLabel") + " ");
txtNameMTheory.addFocusListener(new FocusListenerTextField());
txtNameMTheory.addKeyListener(new KeyAdapter() {
public void keyPressed(KeyEvent e) {
if ((e.getKeyCode() == KeyEvent.VK_ENTER) && (txtNameMTheory.getText().length()>0)) {
try {