aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Making a diagram interactive??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Making a diagram interactive???" Watch "Making a diagram interactive???" New topic
Author

Making a diagram interactive???

Constanze Michaelis
Greenhorn

Joined: Jul 28, 2004
Posts: 28
Hi @ll,

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.

bye

Constanze
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
Here's one way to approach this. Written for j2se 1.5
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Making a diagram interactive???