This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Events are not created with proper timestamp | ||
---|---|---|---|
Product: | qa | Reporter: | Jiri Skrivanek <jskrivanek> |
Component: | Code | Assignee: | issues@qa <issues> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | mkubec |
Priority: | P1 | ||
Version: | 3.x | ||
Hardware: | Sun | ||
OS: | Solaris | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jiri Skrivanek
2002-04-04 10:25:24 UTC
Just like Jiri said: System.currentTimeMillis() instead of 0 as timestamp. 390c390,391 < MouseEvent event = new MouseEvent(component, id, 0, mods, x, y, clickCount, popup); --- > MouseEvent event = new MouseEvent(component, id, System.currentTimeMillis(), > mods, x, y, clickCount, popup); 427c428,429 < KeyEvent event = new KeyEvent(component, id, 0, mods, keyCode); --- > KeyEvent event = new KeyEvent(component, id, System.currentTimeMillis() > , mods, keyCode); 440c442,443 < KeyEvent event = new KeyEvent(component, id, 0, mods, keyCode, keyChar); --- > KeyEvent event = new KeyEvent(component, id, System.currentTimeMillis(), > mods, keyCode, keyChar); Verified. |