• Post Reply Bookmark Topic Watch Topic
  • New Topic

Event

 
vandana
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi folks,
i am just gvg some snippets of code below.
pl. explain...
int modifiers = me.getModifiers();
if ((modifiers & InputEvent.BUTTON3_MASK)==InputEvent.BUTTON3_MASK)
{---
-------}

wht does ths modifiers do?
wht Do v use InputEvent for? how is it diff frm Actionevent?
wht is Masking used for?
thanx

 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

"vandana":
hmmm... ...maybe I was not clear the first time...
serinity now!
your name doesnot agree with the javaranch guidelines.
please take a moment and re-register after reviewing the
guidelines http://www.javaranch.com/name.jsp
thanks for your cooperation.
- satya
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!