The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Question about help file , Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Question about help file ," Watch "Question about help file ," New topic

Question about help file ,

Sam Stackly
Ranch Hand

Joined: May 04, 2002
Posts: 109
Hi Guys,
I have a html file for on line help, I implemented it in JEditorPane through setPage method, setPage ask for URL or String which is references to HTML file (which can be different if they change working directory of application), The question is how can I get the path of my working directory (my application)? Then I can find help.html file dynamically
Thanks in advance
Nate Johnson
Ranch Hand

Joined: May 13, 2002
Posts: 301
I put my online docs in the executable jar

scwcd, scjd, scjp<br /><a href="http://natejohnson.us" target="_blank" rel="nofollow">http://natejohnson.us</a><br /><a href="http://rice.kuali.org" target="_blank" rel="nofollow">http://rice.kuali.org</a>
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
I put mine in the executable jars too. I had separate client and server help files, so I created a help subdirectory in both the client and server package directories.
Hope this helps,
Michael Morris

Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Sam Stackly
Ranch Hand

Joined: May 04, 2002
Posts: 109
Thanks Guys, I'll do that too,
I agree. Here's the link: http://aspose.com/file-tools
subject: Question about help file ,
Similar Threads
displaying HTML in a JEditorPane
question about userguide.html
Anchor tags in JEditorPane
My Program is not loading the image files in the jar.
JEditorPane and finding the page to load