You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Linbin Yu (JIRA)" <ji...@apache.org> on 2007/08/29 05:53:30 UTC

[jira] Updated: (HARMONY-4691) [classlib][swing][html] P Tag behaves incorrectly

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

Linbin Yu updated HARMONY-4691:
-------------------------------

    Attachment: RI.PNG

> [classlib][swing][html] P Tag behaves incorrectly
> -------------------------------------------------
>
>                 Key: HARMONY-4691
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4691
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Win32
>            Reporter: Linbin Yu
>            Priority: Minor
>         Attachments: Harmony.PNG, RI.PNG
>
>
> P Tag works incorrectly. There is an example:
> import javax.swing.JEditorPane;
> import javax.swing.JFrame;
> public class Ptag extends JFrame {
> 	public static void main(String argv[]) {
> 		new Ptag();
> 	}
> 	public Ptag() {
> 		JEditorPane editorPane = new JEditorPane("text/html",
> 				"1<p>2<p></p>3<p><p>4");
> 		editorPane.setEditable(false);
> 		add(editorPane);
> 		setSize(150, 250);
> 		setVisible(true);
> 	}
> }

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