// ---
defaultForm = new TXModelForm(presenter, enableStatistics, enableTsm, jts, useHornetq, defaultTimeout, nodeId) {
@Override
protected FormValidation validateTx(final FormValidation formValidation) {
JacorbState jacorbState = presenter.getJacorbState();
if (jts.getValue() && jacorbState != VALID) {
getFormValidationError().setText(jacorbState.getMessage());
getFormValidationError().setVisible(true);
formValidation.addError(jts.getName());
return formValidation;
}
getFormValidationError().setVisible(false);