Example #1
0
  /**
   * getContactPerson ------------------------------- return ConfDb current contact person. Allow
   * get confdb contact person in case of errors. NOTE: to change the GUI version go to:
   * /conf/confdb.version file .
   */
  public String getContactPerson() {

    ConfdbSoftwareVersion softversion = new ConfdbSoftwareVersion();
    softversion.loadLocalProperties();

    contactEmail = softversion.getContact();

    return contactEmail;
  }
Example #2
0
  /**
   * getConfDbVersion ------------------------------- return ConfDb current version String. Allow
   * get confdb version in case of errors. NOTE: to change the GUI version go to:
   * /conf/confdb.version file .
   */
  public String getConfDbVersion() {

    ConfdbSoftwareVersion softversion = new ConfdbSoftwareVersion();
    softversion.loadLocalProperties();

    jTextFieldVersion.setText(softversion.getClientVersion());

    return jTextFieldVersion.getText();
  }