javahelp
Hi
I am using netbeans to create an application where I would like to call javahelp. I have created the menu item and added an action performed event to load the help as below but nothing happens when I try to load the help. Can anyone help?
<code>
private void jMenuItem4ActionPerformed(java.awt.event.ActionEvent evt) {
try {
URL url = new URL("file:/c:/help/help.hs"); // replace this with the actual location of your help set
HelpSet hs = new HelpSet(null, url);
HelpBroker hb = hs.createHelpBroker();
new CSH.DisplayHelpFromSource(hb);
}
catch (Exception e) {
e.printStackTrace();
}
</code>

