code: private void checkAndEnableSaveButton() {
  		boolean enabled = true;
  		enabled &= txt_PubCert.getDocument().getLength() > MIN_CERT_LENGTH;
  		bt_save.setEnabled(enabled);
  	}
docs: Saving is only allowed, if
  (a) there's a certificate (text) in the text area