• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question about help file ,

 
Sam Stackly
Ranch Hand
Posts: 109
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 301
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I put my online docs in the executable jar
 
Michael Morris
Ranch Hand
Posts: 3451
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Sam Stackly
Ranch Hand
Posts: 109
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Guys, I'll do that too,
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic