Element « JEditorPane « Java Swing Q&A





1. JEditorPane is discarding empty elements    stackoverflow.com

The following test fails with JRE 1.6.0_20

public void testSetGetTextWithList() throws Exception {
    final JEditorPane editorPane = new JEditorPane();
    editorPane.setContentType("text/html");
    editorPane.setText("<ul><li></li></ul>");
   ...

2. JEditorPane and source of HTML element    stackoverflow.com

I have (still) problems with HTMLEditorKit and HTMLDocument in Java. I can only set the inner HTML of an element, but I cannot get it. Is there some way, how to ...

3. JEditorPane - Unprinted Elements    coderanch.com

I'm using a JEditorPane to print html documents, I have a test set of documents that don't seem to be printing too well. The HTML document has an image and a table. Both do display correctly, but when printed in a loop, the first page rarely prints the image, all other pages can either: print a small portion of the image, ...