Commit bfbf9ecc authored by Mart Lubbers's avatar Mart Lubbers

Revert "add correct loading of help files"

This reverts commit 2ef8a586.
parent e0b9999e
......@@ -34,7 +34,7 @@ public class HelpFromProp
private static Properties getProps( String nm )
{
URL url = nm.getClass().getResource( "/Help/" + nm + ".prop" ) ;
URL url = HelpFromProp.class.getResource( "/Help/" + nm + ".prop" ) ;
Properties props = new Properties() ;
try
{
......@@ -42,7 +42,6 @@ public class HelpFromProp
}
catch( IOException ex )
{
System.err.println("Could not read help source for " + nm);
}
return props ;
}
......
......@@ -173,7 +173,7 @@ public class SSMRunner extends JFrame
helper = new Help() ;
HelpSupplier instrHelpSupplier = Instruction.getHelpSupplier() ;
helper.addHelpSupplier( instrHelpSupplier ) ;
//helper.addHelpSupplier( instrHelpSupplier ) ;
helper.addHelpSupplier( new HelpFromProp( "ssminstrhelp", instrHelpSupplier, true ) ) ;
helper.addHelpSupplier( new HelpFromProp( "ssmhelp", instrHelpSupplier, false ) ) ;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment