harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2662) [classlib][swing] javax.swing.JMenu.isOpaque() returns incorrect values for JGoodies L&F
Date Wed, 14 Mar 2007 14:32:09 GMT

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

Alexei Zakharov updated HARMONY-2662:
-------------------------------------

    Priority: Minor  (was: Major)

> [classlib][swing] javax.swing.JMenu.isOpaque() returns incorrect values for JGoodies
L&F
> ----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2662
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2662
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexander Simbirtsev
>            Priority: Minor
>
> Harmony installs wrong opaque value on a JMenu component when PlasticLookAndFeel is installed.
> To reproduce this bug
> noe should download and install JGoodies L&F (freeware)
> http://www.jgoodies.com/download/libraries/looks/looks-2_1_1.zip
> and use the following code:
> import javax.swing.JMenu;
> import javax.swing.UIManager;
> import javax.swing.plaf.metal.MetalLookAndFeel;
> import junit.framework.TestCase;
> import com.jgoodies.looks.plastic.PlasticLookAndFeel;
> public class Test extends TestCase {
>     public void testcase1() throws Throwable {
>         UIManager.setLookAndFeel(new MetalLookAndFeel());
>         assertFalse(new JMenu().isOpaque());
>         UIManager.setLookAndFeel(new PlasticLookAndFeel());
>         assertTrue(new JMenu().isOpaque());
>     }
> }

-- 
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