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 A. Ivanov (JIRA)" <ji...@apache.org> on 2006/12/08 15:36:21 UTC

[jira] Created: (HARMONY-2550) [classlib][swing] j.s.JScrollBar doesn't change its orientation

[classlib][swing] j.s.JScrollBar doesn't change its orientation
---------------------------------------------------------------

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


Calling setOrientation has no effect on JScrollBar instance.

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

        

[jira] Updated: (HARMONY-2550) [classlib][swing] j.s.JScrollBar doesn't change its orientation

Posted by "Alexey A. Ivanov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2550?page=all ]

Alexey A. Ivanov updated HARMONY-2550:
--------------------------------------

    Attachment: HTest2550.java

Demo application which demonstrates the problem.
When run on RI, each click of the button updates the scroll bar orientation, and one can see scroll bar changed its orientation.

When run on Harmony, clicking the button doesn't cause any changes on the screen -- only the button title changes which gives a hint that the orientation of scroll bar was changed.

> [classlib][swing] j.s.JScrollBar doesn't change its orientation
> ---------------------------------------------------------------
>
>                 Key: HARMONY-2550
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2550
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>         Attachments: HTest2550.java
>
>
> Calling setOrientation has no effect on JScrollBar instance.

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

        

[jira] Commented: (HARMONY-2550) [classlib][swing] j.s.JScrollBar doesn't change its orientation

Posted by "Alexey A. Ivanov (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2550?page=comments#action_12456880 ] 
            
Alexey A. Ivanov commented on HARMONY-2550:
-------------------------------------------

There's an easy workaround: call updateUI() after setting the orientation, or use another constructor to create JScrollBar and pass the needed orientation.

> [classlib][swing] j.s.JScrollBar doesn't change its orientation
> ---------------------------------------------------------------
>
>                 Key: HARMONY-2550
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2550
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>         Attachments: HTest2550.java
>
>
> Calling setOrientation has no effect on JScrollBar instance.

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