QUOTE(andrewktmeikle @ 9 Oct, 2008 - 02:10 AM)

yes, i was looking for a graph with " vertices and edges" eg x and y axis.
Trouble is I can't use an external applet to do it, I was not sure if their was a specific swing component that you can draw, and accuratly place, points on a graph in relation to fixed axis. I do know about "drawLine" but I wasn't sure if there was a more accurate way of doing it.
The java tutorials on the sun site, do not deal with these issues and i'm having touble generalising their solution.
Thanks again for the help
I think you misunderstood me, I was talking about mathematical graphs:
http://en.wikipedia.org/wiki/Graph_(mathematics), while I think you're talking about a
http://en.wikipedia.org/wiki/Graph_of_a_function.
To do the former, uses JGraph, to do the latter, use JFreeChart. Or you can just draw on a component manually using Graphics objects.