harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Simbirtsev (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2591) [classlib][swing] javax.swing.plaf.basic.BasicSliderUI.ActionScroller.isEnabled() returns false while RI returns true
Date Mon, 11 Dec 2006 11:32:22 GMT
[classlib][swing] javax.swing.plaf.basic.BasicSliderUI.ActionScroller.isEnabled() returns false
while RI returns true
---------------------------------------------------------------------------------------------------------------------

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


javax.swing.plaf.basic.BasicSliderUI.ActionScroller.isEnabled() returns false
while RI returns true.
Compatibility issue.

Use the following code to reproduce: 
import javax.swing.JSlider;
import javax.swing.plaf.basic.BasicSliderUI;

import junit.framework.TestCase;

public class Test extends TestCase {       
    public void testcase1() {
        BasicSliderUI jp = new BasicSliderUI(new JSlider());
        BasicSliderUI.ActionScroller m = jp.new ActionScroller(new JSlider(),
                3, true);
        assertTrue(m.isEnabled());
    }
}

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

        

Mime
View raw message