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] Updated: (HARMONY-2557) [classlib][swing] "ScrollBar.allowsAbsolutePositioning" L&F key is not used
Date Fri, 08 Dec 2006 16:03:22 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2557?page=all ]

Alexey A. Ivanov updated HARMONY-2557:

    Attachment: HTest2557.java

A simple application where you can test the behavior described. Click the track of the scroll
bar with middle mouse button:
* nothing happens when run on Harmony;
* the thumb jumps to mouse location on RI.

Harmony implementation also has the value for "ScrollBar.allowsAbsolutePositioning" L&F
key, and it is true. However, it isn't used.

To check it's already present, add


before the value is put to UIManager (it's just be to be sure). If you set the value to Boolean.FALSE,
nothing will happen when you click the track with middle mouse button on RI too.

> [classlib][swing] "ScrollBar.allowsAbsolutePositioning" L&F key is not used
> ---------------------------------------------------------------------------
>                 Key: HARMONY-2557
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2557
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>            Priority: Minor
>         Attachments: HTest2557.java
> Harmony implementation of JScrollBar, its Metal UI, does not use L&F key "ScrollBar.allowsAbsolutePositioning".
> If the value of this property is true, clicking scroll bar with middle button (or the
third button) moves the thumb to where the mouse is.
> See the description of JScrollBar properties at http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/plaf/synth/doc-files/componentProperties.html

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


View raw message