harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey A. Ivanov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2854) [classlib][swing] j.s.plaf.basic.BasicScrollBarUI.getTrackBounds() returns not null on Harmony
Date Fri, 22 Dec 2006 13:44:21 GMT
[classlib][swing] j.s.plaf.basic.BasicScrollBarUI.getTrackBounds() returns not null on Harmony
----------------------------------------------------------------------------------------------

                 Key: HARMONY-2854
                 URL: http://issues.apache.org/jira/browse/HARMONY-2854
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Alexey A. Ivanov
            Priority: Minor


====== Code to Reproduce ======
import java.awt.Rectangle;

import javax.swing.plaf.basic.BasicScrollBarUI;

public class Test {
    private static class TestBasicScrollBarUI extends BasicScrollBarUI {
        @Override
        public Rectangle getTrackBounds() {
            return super.getTrackBounds(); 
        } 
    }

    public static void main(String[] args) {
        TestBasicScrollBarUI sbr = new TestBasicScrollBarUI();
        System.err.println("res=" + sbr.getTrackBounds());
    }
}
======= end of code =======


------- Harmony -------
res=java.awt.Rectangle[x=0,y=0,width=0,height=0]
--------------

------- RI -------
res=null
--------------

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