22nd April 2005, 4:27 PM
I've been playing with Swing over the last few months, and can't think of anything that lets you draw points and a graph... Let's see what Google says...
Okay, <a href="http://www.sci.usq.edu.au/staff/leighb/graph/">here</a> is a Graph Library that somebody made. It has all the source and some examples. The documentation doesn't look all that helpful, but I just glanced at it. I bet you could hack one of the examples pretty easily, though. It uses Applets.
That looks like the best I could find. I could do this easily in OpenGL, but I haven't really figured out how to use Java Swing to do anything outside of the built in classes. You could check out <a href="http://java.sun.com/docs/books/tutorial/uiswing/14painting/index.html">this tutorial</a> from Sun on Custom Painting. It might help.
Maybe Obi can get you some better help, since his friend has done game programming with Java. When do you need it done by? Do you want to do it on your own, cause I could help if you want.
Okay, <a href="http://www.sci.usq.edu.au/staff/leighb/graph/">here</a> is a Graph Library that somebody made. It has all the source and some examples. The documentation doesn't look all that helpful, but I just glanced at it. I bet you could hack one of the examples pretty easily, though. It uses Applets.
That looks like the best I could find. I could do this easily in OpenGL, but I haven't really figured out how to use Java Swing to do anything outside of the built in classes. You could check out <a href="http://java.sun.com/docs/books/tutorial/uiswing/14painting/index.html">this tutorial</a> from Sun on Custom Painting. It might help.
Maybe Obi can get you some better help, since his friend has done game programming with Java. When do you need it done by? Do you want to do it on your own, cause I could help if you want.