How can i use pointer pressed, pointer release and pointer dragged on a Button and use its ActionEvent because at the moment i cant use both.
please help me out.
It works now
If you want to override the pointer events of the button but don't want to disturb its normal behavior always make sure to call the super method as well. E.g. super.pointerReleased(x, y);
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.