Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 83355 invoked from network); 6 Aug 2007 12:44:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Aug 2007 12:44:25 -0000 Received: (qmail 75119 invoked by uid 500); 6 Aug 2007 12:44:22 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 75096 invoked by uid 500); 6 Aug 2007 12:44:22 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 75065 invoked by uid 99); 6 Aug 2007 12:44:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Aug 2007 05:44:21 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Aug 2007 12:44:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B63B87141FE for ; Mon, 6 Aug 2007 05:43:59 -0700 (PDT) Message-ID: <7848104.1186404239742.JavaMail.jira@brutus> Date: Mon, 6 Aug 2007 05:43:59 -0700 (PDT) From: "Vasily Zakharov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-4572) [classlib][swing][html] Tag
doesn't work In-Reply-To: <26218140.1185837413039.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-4572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517918 ] Vasily Zakharov commented on HARMONY-4572: ------------------------------------------ Moreover, it seems to me that using CSS to specify the tags behavior is right and effective way, and it's better than hardcoding it in Java. > [classlib][swing][html] Tag
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 > Assignee: Alexey Petrenko > Attachments: Harmony-4572-Fix.patch, Harmony.jpg, RI.jpg > > > HTML tag
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", > "
Test
"); > editorPane.setEditable(false); > JFrame frame = new JFrame("Test"); > frame.addWindowListener(new WindowAdapter() { > public void windowClosing(WindowEvent event){ > System.exit(0); > } > }); > JPanel contentPane = (JPanel) frame.getContentPane(); > contentPane.add(editorPane); > frame.setSize(400, 300); > frame.setVisible(true); > } catch (Throwable e) { > System.out.print("ERROR: "); > e.printStackTrace(System.out); > } > } > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.