harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasily Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-4606) [classlib][swing][html] <a> tag behaves incorrectly
Date Wed, 19 Sep 2007 22:03:13 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-4606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vasily Zakharov closed HARMONY-4606.
------------------------------------


Thanks, Dmitry, Alexey, the problem is now resolved!

Closing the issue.


> [classlib][swing][html] <a> tag behaves incorrectly
> ---------------------------------------------------
>
>                 Key: HARMONY-4606
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4606
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Vasily Zakharov
>            Assignee: Alexey Petrenko
>         Attachments: H4606-HTMLDocument.patch, H4606-HTMLDocument_Reader_ActionsTest.patch,
Harmony.jpg, RI.jpg
>
>
> In Harmony the text in <a> tag becomes blue and underlined even if href attribute
is absent.
> In RI it only gets this look if href attribute is present.
> Here's the simple test demonstrating the problem:
> import java.awt.event.*;
> import javax.swing.*;
> public class Test {
>     public static void main(String argv[]) {
>         JFrame frame = new JFrame("Test");
>         frame.addWindowListener(new WindowAdapter() {
>             public void windowClosing(WindowEvent event){
>                 System.exit(0);
>             }
>         });
>         JEditorPane editorPane = new JEditorPane("text/html", "text<br><a>aaa</a><br><a
href=\"\">href</a>");
>         frame.add(editorPane);
>         frame.setSize(150, 150);
>         frame.setVisible(true);
>     }
> }

-- 
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