You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexei Zakharov (JIRA)" <ji...@apache.org> on 2007/03/14 15:28:10 UTC

[jira] Updated: (HARMONY-2634) [classlib][swing] javax.swing.plaf.basic.BasicArrowButton doesn't use the 'highlight' parameter from the constructor when painting itself

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

Alexei Zakharov updated HARMONY-2634:
-------------------------------------

    Priority: Minor  (was: Major)

> [classlib][swing] javax.swing.plaf.basic.BasicArrowButton doesn't use the 'highlight' parameter from the constructor when painting itself
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2634
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2634
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexander Simbirtsev
>            Priority: Minor
>
> Use the following code to reproduce:
> import java.awt.Color;
> import javax.swing.JFrame;
> import javax.swing.plaf.basic.BasicArrowButton;
> public class Test {
>     public static void main(String[] args) {
>         JFrame frame = new JFrame();
>         frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
>         Color c = Color.BLACK;
>         
>         frame.add(new BasicArrowButton(BasicArrowButton.NORTH, c, Color.WHITE, Color.WHITE, Color.RED));
>         frame.pack();
>         frame.setVisible(true);
>     }
> }
> Note that on RI one can see RED frame along the left and top sides of the button
> on Harmony one can see the frame of default -- WHITE color

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