M
Mark H. Wood
I'm trying to add some built-in documentation to my application. I'm
using a JEditorPane (also tried JTextPane) to display HTML documents.
The documents are packed in the jar with the application's classes.
The base document displays just fine, and I can link to other HTML
documents without trouble, but IMG tags always display as a
broken-image icon. I can't find anything to say that I should not be
able to refer to images in a jar from HTML documents in a jar, and
images used for other purposes work well. Clues would be welcomed.
using a JEditorPane (also tried JTextPane) to display HTML documents.
The documents are packed in the jar with the application's classes.
The base document displays just fine, and I can link to other HTML
documents without trouble, but IMG tags always display as a
broken-image icon. I can't find anything to say that I should not be
able to refer to images in a jar from HTML documents in a jar, and
images used for other purposes work well. Clues would be welcomed.