@Override public void validate(){
  ConfigVerification verification=controller.getConfigErrors();
  if (verification != null) {
    saveButton.setEnabled(!verification.hasFailed());
  }
 else {
    saveButton.setEnabled(false);
  }
}

@ Override public void validate ( ) { ConfigVerification verification = controller . getConfigErrors ( ) ; if ( verification != null ) { saveButton . setEnabled ( ! verification . hasFailed ( ) ) ; } else { saveButton . setEnabled ( false ) ; } }
a call of this method should validate the positions of the panels components .
