You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Petrenko (JIRA)" <ji...@apache.org> on 2007/01/29 09:58:49 UTC

[jira] Assigned: (HARMONY-2854) [classlib][swing] j.s.plaf.basic.BasicScrollBarUI.getTrackBounds() returns not null on Harmony

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

Alexey Petrenko reassigned HARMONY-2854:
----------------------------------------

    Assignee: Alexey Petrenko

> [classlib][swing] j.s.plaf.basic.BasicScrollBarUI.getTrackBounds() returns not null on Harmony
> ----------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2854
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2854
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>         Assigned To: Alexey Petrenko
>            Priority: Minor
>         Attachments: H2854-BasicScrollBarUI.patch, H2854-BasicScrollBarUITest.patch, H2854.java, H2854.java
>
>
> ====== 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.
-
You can reply to this email to add a comment to the issue online.