harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Pavlenko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-4582) [classlib][swing] JEditorPane does not support <pre> tag in text/html mode
Date Fri, 03 Aug 2007 06:09:53 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-4582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517454
] 

Andrey Pavlenko commented on HARMONY-4582:
------------------------------------------

I think you missed HTML tags in your test. I could reproduce the issue with the following
test case:

    public void test() {
        JFrame frame = new JFrame("JEditorPane test");
        JEditorPane pane = new JEditorPane("text/html",
                "<html><body><pre>Hello\nworld!</pre></body></html>");
        frame.add(pane);
        frame.pack();
        frame.setVisible(true);
    }

> [classlib][swing] JEditorPane does not support <pre> tag in text/html mode
> --------------------------------------------------------------------------
>
>                 Key: HARMONY-4582
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4582
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey Petrenko
>         Attachments: HARMONY.JPG, Harmony4582Test.java, RI.JPG
>
>
> JEditorPane does not support <pre> tag: http://www.w3.org/TR/html401/struct/text.html#h-9.3.4

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message