java - Continue MouseWheelEvent propagation if not handled manually -


I have a component inside JScrollPane , and I would like to handle some scroll events though , I do not want to handle them all Unfortunately, when I add the MouseAllevator to my child's component, it stops receiving scrolling events.

How can I do that? Are those events that do not want to handle manually?

What about it?

  Component.dispatchEvent (AWTEvent E);   

Actually you will need to call:

  getParent (). SenderAvent (mouse Event);   

You may now need to dig the scrollpin, but you can play with this idea

Comments

Popular posts from this blog

java - NullPointerException for a 2d Array -

python - Assemble mpeg file unable to play in mediaplayer -

c# - NameSpace Manager or XsltContent to parse aspx page -