aspose file tools*
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 Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Question about help file ," Watch "Question about help file ," New topic
Author

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
Sam
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 ,