Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NX: help need with displaying HTML file with images.

 
Manoj Gundawar
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
My userManual is .HTML file with images in it (GIF) (Images are added in HTML with the relative path)
Now if I try to show this in JEditorPane (as part of the Help menu) it dosent show up this HTML at all. Code throws FileNotFoundException at the line JEditorPane.setPage(URL). //Where URL is the path of the HTML file
If I try to display html file without any images in it, it shows up correctly.
Help is need urgently, as I am done with the project and cant imagine to delay the submission just for this.
Here is my code snippet:


Thanks,
Manoj
 
Manoj Gundawar
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dont bother folks. This problem is now resolved.
Thanks,
Manoj
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic