tarvid@venus:~/Savings2$ ls
about build build.xml dist doc manifest.mf nbproject report src
tarvid@venus:~/Savings2$ ls doc/about/hs
3e4e481b.html 809c97f9.html main.hs map.jhm pics toc.xml
private void helpAboutMenuItemActionPerformed(java.awt.event.ActionEvent evt) {
HelpSet hs;
HelpBroker hb;
String pathToHS = "doc/about/hs/main.hs";
//Create a URL for the location of the help set
try {
URL hsURL = getClass().getClassLoader().getResource(pathToHS);
hs = new HelpSet(null, hsURL);
} catch (Exception ee) {
// Print info to the console if there is an exception
System.out.println( "HelpSet " + ee.getMessage());
System.out.println("Help Set "+ pathToHS +" not found");
return;
}
// Create a HelpBroker object for manipulating the help set
hb = hs.createHelpBroker();
//Display help set
hb.setDisplayed(true);
}
HelpSet Could not parse
Got an IOException (null)
Parsing failed for null
Help Set doc/about/hs/main.hs not found
tarvid@venus:~/Savings2$ java -jar "/home/tarvid/Savings2/dist/Savings2.jar"
HelpSet Could not parse
Got an IOException (null)
Parsing failed for null
Help Set doc/about/hs/main.hs not found
tarvid@venus:~/Savings2$ jar tf dist/Savings2.jar
META-INF/
META-INF/MANIFEST.MF
Savings2/
Savings2/DataArray.class
Savings2/savingsFrame$1.class
Savings2/savingsFrame$10.class
Savings2/savingsFrame$11.class
Savings2/savingsFrame$12.class
Savings2/savingsFrame$13.class
Savings2/savingsFrame$14.class
Savings2/savingsFrame$15.class
Savings2/savingsFrame$16.class
Savings2/savingsFrame$17.class
Savings2/savingsFrame$18.class
Savings2/savingsFrame$19.class
Savings2/savingsFrame$2.class
Savings2/savingsFrame$20.class
Savings2/savingsFrame$21.class
Savings2/savingsFrame$22.class
Savings2/savingsFrame$23.class
Savings2/savingsFrame$24.class
Savings2/savingsFrame$25.class
Savings2/savingsFrame$26.class
Savings2/savingsFrame$27.class
Savings2/savingsFrame$28.class
Savings2/savingsFrame$29.class
Savings2/savingsFrame$3.class
Savings2/savingsFrame$4.class
Savings2/savingsFrame$5.class
Savings2/savingsFrame$6.class
Savings2/savingsFrame$7.class
Savings2/savingsFrame$8.class
Savings2/savingsFrame$9.class
Savings2/savingsFrame.class
tarvid@venus:~/Savings2$