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:32:09 UTC
[jira] Updated: (HARMONY-2662) [classlib][swing]
javax.swing.JMenu.isOpaque() returns incorrect values for JGoodies L&F
[ 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.