File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes graphs and applets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "graphs and applets" Watch "graphs and applets" New topic

graphs and applets

Lydia Su

Joined: Apr 27, 2001
Posts: 13
anyone know how to draw a graph in applet?
especially using two formulas and asking the user to set the range and counter of the range. also, how do you draw the line for the graph continuously? as in, everytime the counter increments, the line is redrawn over the previous...
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
Sun provides this example:

"JavaRanch, where the deer and the Certified play" - David O'Meara
I agree. Here's the link:
subject: graphs and applets
It's not a secret anymore!