d = new Dimension(90,30);
JTextField tolerance = new JTextField(30);
tolerance.setText(numFormat.format(SolverMultiClosedAMVA.DEFAULT_TOLERANCE));
tolerance.setMaximumSize(d);
tolerance.setName(algo.toString());
tolerance.addFocusListener(new FocusListener() {
@Override
public void focusLost(FocusEvent e) {
JTextField textField = (JTextField) e.getSource();
Double tol = SolverMultiClosedAMVA.validateTolerance(textField.getText());
SolverAlgorithm algorithm = SolverAlgorithm.fromString(textField.getName());