Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 64229 invoked from network); 30 Jul 2007 23:51:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Jul 2007 23:51:14 -0000 Received: (qmail 24904 invoked by uid 500); 30 Jul 2007 23:51:14 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 24808 invoked by uid 500); 30 Jul 2007 23:51:14 -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 24799 invoked by uid 99); 30 Jul 2007 23:51:14 -0000 Received: from Unknown (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2007 16:51:14 -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, 30 Jul 2007 23:51:13 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A6BCC714209 for ; Mon, 30 Jul 2007 16:50:53 -0700 (PDT) Message-ID: <2640283.1185839453679.JavaMail.jira@brutus> Date: Mon, 30 Jul 2007 16:50:53 -0700 (PDT) From: "Vasily Zakharov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-4574) [classlib][swing][html] Blank link text is rendered as underscore In-Reply-To: <26938207.1185839333286.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-4574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vasily Zakharov updated HARMONY-4574: ------------------------------------- Attachment: RI.jpg > [classlib][swing][html] Blank link text is rendered as underscore > ----------------------------------------------------------------- > > Key: HARMONY-4574 > URL: https://issues.apache.org/jira/browse/HARMONY-4574 > Project: Harmony > Issue Type: Bug > Components: Classlib > Reporter: Vasily Zakharov > Attachments: Harmony.jpg, RI.jpg > > > If the text between and is empty or consists of spaces, RI renders nothing, and Harmony renders a clickable underscore. > 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", > "AAABBB"); > 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.