JEditorPane and HTMLEditorKit
- From: frarapp@xxxxxxxxx
- Date: Tue, 25 Nov 2008 07:32:55 -0800 (PST)
Hi there,
I'm using JavaHelp to display html pages and would like to use it also
for pdf files. JavaHelp use JEditorPane.setPage to display the content
and home made classes can be registered for mime type in the helpset
file.
These classes are to extends from Swing's EditorKit. My idea was to
load a PdfEditorKit wich would load the pdf in a img tag. which would
take the whole page.
How can I code this ? I have tried to create a PdfDocument in the
createDefaultDocument of my PdfEditorKit wich extends HTMLEditorKit
but I'm stuck here and I can't display the html with the img tag (or
the pdf directly if that would be possible).
Thanks for any help
Francois
.
- Follow-Ups:
- Re: JEditorPane and HTMLEditorKit
- From: John B. Matthews
- Re: JEditorPane and HTMLEditorKit
- Prev by Date: JFormDesigner 3.1 - Swing GUI Designer
- Next by Date: Re: JEditorPane and HTMLEditorKit
- Previous by thread: JFormDesigner 3.1 - Swing GUI Designer
- Next by thread: Re: JEditorPane and HTMLEditorKit
- Index(es):
Relevant Pages
|