You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexander Simbirtsev (JIRA)" <ji...@apache.org> on 2006/12/12 12:34:21 UTC

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

[classlib][swing] javax.swing.plaf.basic.BasicArrowButton doesn't use the 'highlight' parameter from the constructor when painting itself
-----------------------------------------------------------------------------------------------------------------------------------------

                 Key: HARMONY-2634
                 URL: http://issues.apache.org/jira/browse/HARMONY-2634
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Alexander Simbirtsev


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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
     [ 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.