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-4583) [classlib][swing][html] HTML is not rendered on buttons
Date Tue, 31 Jul 2007 23:29:53 GMT
[classlib][swing][html] HTML is not rendered on buttons

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

Here's the simple reproducer:

import java.awt.event.*;
import javax.swing.*;
public class Test {
    public static void main(String[] args) {
        try {
            JFrame frame = new JFrame("Test");
            frame.addWindowListener(new WindowAdapter() {
                public void windowClosing(WindowEvent event){
            JPanel panel = (JPanel) frame.getContentPane();
            panel.add(new JButton("<html><font size=\"6\" color=\"red\"><bold>Test</bold></font></html>"));
        } catch (Throwable e) {
            System.out.print("ERROR: ");

Attached screenshots demonstrate the problem:
RI.jpg - how it looks on RI
Harmony.jpg - how it looks on Harmony

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

View raw message