You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vasily Zakharov (JIRA)" <ji...@apache.org> on 2007/08/01 01:46:53 UTC
[jira] Updated: (HARMONY-4583) [classlib][swing][html] HTML is not
rendered on buttons and tabs
[ 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.