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"));
}