This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I'm programming a complicated Applet with a lot of functions. Because of just a bit experiences with java several problems occure. I'm showing a graph with the paint(Graphics g) Method. Thats why I paint the graph with g.drawPolyline(...) . Now I would like to know, if there is any possibility to add a Listener, because I would like to show the exact values in a textfield, after the user clicked the graph.