Hi,

 

I want to determine if the CTRL key was pressed during an ActionEvent
(clicking on a table column header with the mouse in my case). 

 

I found that ActionEvent.getModifiers() delivers a combination of the
four constants (CTRL_MASK, ALT_MASK, SHIFT_MASK, META_MASK) and another
one with int value 16 which seems to be set in every case, even if not
modifier key was typed at all. But I cannot find a constant for this.

 

It would be great if anyone has more information especially the name of
the constant to use for the value 16.

 

Thanks and regards,

 

Michael

Reply via email to