harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Linbin Yu (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-4691) [classlib][swing][html] P Tag behaves incorrectly
Date Wed, 29 Aug 2007 03:51:30 GMT
[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


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.


Mime
View raw message