- Code: Select all
if (event.getModifiers() & JSEvent.MODIFIER_SHIFT)
But in my debugger i found out, that when i click a button with Shift-Click
event.getModifiers() values 17
JSEvent.MODIFIER_SHIFT values 1
so this example-code alway ends with a case false.
Thanke you for any suggestions about this ?