Hi Damian,
You said:
Not sure about hyperlinking between html pages from inside a JAR - never tried that myself.
I am sure the method I mentioned earlier would be fine for accessing the first page programatically (when the user clicks the help button/menu item) but I confess I don't know what would happen about pages linked to from that first page.
I also havent tried it, but I can see that it should be easy to do. If you are implementing
HyperlinkListener then you can handle the
hyperlinkUpdate programatically so you can get all subsequent pages from the jar file sa well.
I havent done this though ... I have left the user documentation pages as regular files (once the distribution jar file has been extracted). This gives the user more flexibility, in that the can browse the help pages using their favourite browser if they want to.
Even in real life this would give more flexibility to the user: do you really want to implement bookmarks and printing and mutiple pages open simultaneously and (name your favourite browser function here) in your online help application?
Despite that, I still think an online help program is very good. It makes the application a little more turnkey ... the user just starts the app, and if they get into problems, they can click on a help button rather than trying to find where the help pages were installed.
Also you said:
In a situation like this I usually just write some code and see what happens
Since starting this assignment I have written 67 programs just to
test concepts that I thought about or saw written here, before doing the real coding for my assignment. I think I have written far more test code than real code :roll:
Regards, Andrew