- Where Developers Learn, Share, & Build Careers


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

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -