JavaHelp
Addendum
Reference: Creating Effective Javahelp (Java Series (O'Reilly & Associates).)JavaHelp
try {
// In the case of putting FooHelp directory in the same directory as Foo.jar.
// URL hsURL = new URL((new File(".")).toURL(), "FooHelp/FooHelp.hs");
// In the case of putting foohelp.jar in the same directory as Foo.jar.
// URL hsURL = new URL("jar:file:foohelp.jar!/FooHelp.hs");
// In the case of encapsulating JavaHelp contents into the application's jar file.
URL hsURL = new URL("jar:file:Foo.jar!/jp/ne/hi-ho/cam/oishi/foo/FooHelp/FooHelp.hs");
// Change jp/ne/hi-ho/cam/oishi/foo for your package name at pleasure.
hs = new HelpSet(null, hsURL);
} catch (Exception e) {
e.printStackTrace();
}
hb = hs.createHelpBroker();
hb.enableHelpKey(getRootPane(), "overview", hs); // for F1
Addendum
Basic Tag
Fixed Font</code><p>Paragraph</p>
<blockquote>Block Quote</blockquote>
| data 1 | data 2 | data 3 |
|---|---|---|
| <table width=600> | ||
| <tr valign="top"> | ||
| <td width=200>th: Table Header</td> | ||
| <td>tr: Table Row</td> | ||
| <td>td: Table Data</td> | ||
| </tr> | ||
| </table> |