Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Mouse Wheel Support in Swing Application  RSS feed

 
Manikandan Adaikkalavan
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
In my mouse, i am having mousewheel to support scrolling.With the help of the wheel, i can scroll the pages in IE browser or any other appliction.
In swing application ,i have scroll bar inside a JFrame.I want to have mousewheel action in my swing application to support scrolling.

any idea ???
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MouseWheelListener and MouseWheelEvent (note that both are "since 1.4")
 
Manikandan Adaikkalavan
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Dirk Schreckmann
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!