Examples of XulLabel


Examples of org.pentaho.ui.xul.components.XulLabel

  public void helpAboutLoad() {
   
    // TODO - Use VersionHelper to get version information from the MANIFEST.MF file
    //        and display the proper version and copyright information
   
    XulLabel helpAboutVersionLabel = (XulLabel) document.getElementById("aboutVersion");
    Properties versionProps = new Properties();
    try {
      InputStream is = getClass().getResourceAsStream("/version.properties");
      if (is == null) {
        logger.error("Failed to locate version.properties on classpath");
      } else {
        versionProps.load(is);
      }
    } catch (IOException e) {
      if (logger.isErrorEnabled()) {
        logger.error("an exception occurred", e);
      }
      return;
    }
    helpAboutVersionLabel.setValue(versionProps.getProperty("version"));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.