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

[jira] Closed: (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 ]

Alexei Zakharov closed HARMONY-2314.
------------------------------------

    Resolution: Invalid

closed as invalid

> [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
>         Assigned To: Alexei Zakharov
>         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.
-
You can reply to this email to add a comment to the issue online.