title: How to make zoom on mouse wheel [Java Swing]
body: <p>I edited <a href="https://stackoverflow.com/questions/8693342/drawing-a-simple-line-graph-in-java">this program</a> and made building several plots. I want to make zoom on mouse wheel but I dont know how to do it. I know that I need to write my own <code>MouseWheelActionListener</code>. But how to make new boundaries of x and y axis and repaint my plots?</p>