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

     [ https://issues.apache.org/jira/browse/HARMONY-4583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vasily Zakharov updated HARMONY-4583:
-------------------------------------

    Summary: [classlib][swing][html] HTML is not rendered on buttons and tabs  (was: [classlib][swing][html]
HTML is not rendered on buttons)

> [classlib][swing][html] HTML is not rendered on buttons and tabs
> ----------------------------------------------------------------
>
>                 Key: HARMONY-4583
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4583
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Vasily Zakharov
>         Attachments: Harmony.jpg, RI.jpg
>
>
> 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){
>                     System.exit(0);
>                 }
>             });
>             JPanel panel = (JPanel) frame.getContentPane();
>             panel.add(new JButton("<html><font size=\"6\" color=\"red\"><bold>Test</bold></font></html>"));
>             frame.pack();
>             frame.setVisible(true);
>         } catch (Throwable e) {
>             System.out.print("ERROR: ");
>             e.printStackTrace(System.out);
>         }
>     }
> }
> 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.


Mime
View raw message