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/03/02 13:57:51 UTC

[jira] Assigned: (HARMONY-2403) [classlib][awt] Result of getMouseModifiersText(int) differs from RI

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

Alexey Petrenko reassigned HARMONY-2403:
----------------------------------------

    Assignee: Alexey Petrenko

> [classlib][awt] Result of getMouseModifiersText(int) differs from RI
> --------------------------------------------------------------------
>
>                 Key: HARMONY-2403
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2403
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Denis Kishenko
>         Assigned To: Alexey Petrenko
>         Attachments: MouseEvent.patch, MouseEvent.patch, MouseEventTest.patch
>
>
> For java.awt.event.MouseEvent.getMouseModifiersText(int) - Harmony returns a string description of the combination of modifier keys and mouse buttons own during the event "Ctrl+Shift" but RI during the event "Shift"
> =========== Test ===============
> import java.awt.event.MouseEvent;
> public class Test {
>     public static void main(String[] argv) {
>         int usedConstant0 = MouseEvent.MOUSE_PRESSED; //  MOUSE_RELEASED, MOUSE_CLICKED
>         String returnValue = MouseEvent.getMouseModifiersText(usedConstant0);
>         System.out.println(usedConstant0);
>         System.out.println(returnValue);
>     }
> }
> =========== RI ============
>  501
>  Meta+Shift+Alt Graph+Button1+Button3
> ========== Harmony ========
> 501
> Meta+Ctrl+Shift+Alt Graph+Button1+Button3

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.