You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Andrey Pavlenko (JIRA)" <ji...@apache.org> on 2007/01/10 14:00:27 UTC

[jira] Updated: (HARMONY-2314) [classlib][awt] Scrollbar: mouse and keyboard events simultaneous handling

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

Andrey Pavlenko updated HARMONY-2314:
-------------------------------------

    Attachment: ScrollbarStateController.patch

> [classlib][awt] Scrollbar: mouse and keyboard events simultaneous handling
> --------------------------------------------------------------------------
>
>                 Key: HARMONY-2314
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2314
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Denis Kishenko
>         Attachments: ScrollbarStateController.patch
>
>
> Scrollbar handles mouse and keyboard events simultaneously, while RI doesn't , e.g. it's possible 
> to scroll with mouse to one direction and with keyboard to another direction at 
> one time. It looks odd sometimes. Mouse and keyboard events should be handled 
> in mutual exclusion mode.
> ========== Test ===========
> import java.awt.Scrollbar;
> import javax.swing.JFrame;
> public class Test {
>     public static void main(String[] args) {
>         JFrame f = new JFrame();
>         Scrollbar sb = new Scrollbar(Scrollbar.HORIZONTAL); 
>         f.getContentPane().add(sb);
>         f.setSize(150, 60);
>         f.setVisible(true);
>     }
> }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira