MouseEvent.java (<init>): fixed field assignment
2004-04-20 Ingo Proetel <proetel@aicas.com> * java/awt/event/MouseEvent.java (<init>): fixed field assignment From-SVN: r80915
This commit is contained in:
committed by
Michael Koch
parent
391d8ef5e0
commit
5ede96a479
@@ -220,11 +220,11 @@ public class MouseEvent extends InputEvent
|
||||
if ((modifiers & EventModifier.OLD_MASK) != 0)
|
||||
{
|
||||
if ((modifiers & BUTTON1_MASK) != 0)
|
||||
button = BUTTON1;
|
||||
this.button = BUTTON1;
|
||||
else if ((modifiers & BUTTON2_MASK) != 0)
|
||||
button = BUTTON2;
|
||||
this.button = BUTTON2;
|
||||
else if ((modifiers & BUTTON3_MASK) != 0)
|
||||
button = BUTTON3;
|
||||
this.button = BUTTON3;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user