• Post Reply Bookmark Topic Watch Topic
  • New Topic

Mouse Scroll Problem  RSS feed

 
Balasubramanian Chandrasekaran
Ranch Hand
Posts: 215
Firefox Browser Linux VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am writing my own MouseListener class which implements MouseInputAdapter interface.

Is there a way i can detect Mouse Scroll event in this class.
 
Rob Spoor
Sheriff
Posts: 20898
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try the mouseWheelMoved method, which you inherited from MouseWheelListener through MouseInputListener and MouseInputAdapter.
 
Balasubramanian Chandrasekaran
Ranch Hand
Posts: 215
Firefox Browser Linux VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Rob
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!