harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Petrenko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-4761) [classlib][awt] InputEvent.getModifiers() doesn't return modifiers for mouse release event
Date Thu, 20 Sep 2007 08:57:31 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-4761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12529027
] 

Alexey Petrenko commented on HARMONY-4761:
------------------------------------------

I've changed value to 1500 and it does not help.
I'm testing it on remote W2003 server. I'll try on my notebook. But even if it will work on
notebook the test does not looks stable enough to include it to repository.

> [classlib][awt] InputEvent.getModifiers() doesn't return modifiers for mouse release
event
> ------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4761
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4761
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Windows
>            Reporter: Dmitriy Matveev
>            Assignee: Alexey Petrenko
>         Attachments: HARMONY-4761-MouseEventTest.patch, HARMONY-4761-MouseEventTest.patch,
HARMONY-4761-WinEvent.patch
>
>
> Reproducer:
> import java.awt.Frame;
> import java.awt.Graphics;
> import java.awt.Graphics2D;
> import java.awt.event.MouseEvent;
> import java.awt.event.MouseListener;
> import java.awt.event.WindowAdapter;
> import java.awt.event.WindowEvent;
> public class MouseReleaseTest {
>     public static void main(String[] args) {
>         Frame f = new Frame();
>         f.setBounds(0, 0, 800, 600);
>         f.setVisible(true);
>         f.addWindowListener(new WindowAdapter() {
>             public void windowClosing(WindowEvent ev) {
>                 System.exit(0);
>             }
>         });
>         
>         f.addMouseListener(new MouseListener(){
>             public void mouseReleased(MouseEvent e){
>                 System.out.println(e);
>             }
>             public void mouseClicked(MouseEvent e) { }
>             public void mouseEntered(MouseEvent e) { }
>             public void mouseExited(MouseEvent e) { }
>             public void mousePressed(MouseEvent e) { }
>         });
>     }
> }

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


Mime
View raw message