how to implement mouse gestures by tracking movement of mouse
<p>I wonder how could I track the mouse movement (like scrolling) in Java, I need to detect whether a user has made a plus or minus sign. Anyone could help me about that?</p>

<p>to clarify:</p>

<p>I have a pdf file opened in a JFrame and a JPanel, when the mouse is in the panel`s bounds it is expected that he will make a plus(+) or minus(-) sign to zoom in and zoom out the pdf file.So i need to track the movement of the mouse.Thanks in advance</p>
