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] Created: (HARMONY-4572) [classlib][swing][html] Tag <center> doesn't work
Date Mon, 30 Jul 2007 23:16:53 GMT
[classlib][swing][html] Tag <center> doesn't work

                 Key: HARMONY-4572
                 URL: https://issues.apache.org/jira/browse/HARMONY-4572
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Vasily Zakharov
         Attachments: Harmony.jpg

HTML tag <center> is not handled properly. To reproduce, run the following test:

import java.awt.event.*;
import java.io.IOException;
import javax.swing.*;
public class Test {
    public static void main(String[] args) {
        try {
            final JEditorPane editorPane = new JEditorPane("text/html",
            JFrame frame = new JFrame("Test");
            frame.addWindowListener(new WindowAdapter() {
                public void windowClosing(WindowEvent event){
            JPanel contentPane = (JPanel) frame.getContentPane();
            frame.setSize(400, 300);
        } catch (Throwable e) {
            System.out.print("ERROR: ");

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

View raw message