Other |
---|
1.4.0 betaFixed |
Duplicate :
|
|
Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
The old InputEvent modifiers have same values for keyboard and mouse buttons. So in certain situations there is no way to distinguish which one is pressed or when more than one is held simultanously. These situations would include the cases when more than one mouse button is down at the same time, or when a modifier key is used to modify a mouse event. ingrid.yao@Eng 2001-05-10 CAP program member complains the new InputEvent modifiers are likely to cause many programs to fail since many programmers probably do something like: [...] if (e.getModifiers() == InputEvent.BUTTON1_MASK) { } [...]
|