I have to write a Java app that takes data and turns it into a graph. I know how to get the data, but how would I draw the graph? Would I use the Graphics class like in an applet? Thanks.
The best and easiest thing for you to do is probably use JFreeChart. If, however, you chose to re-invent the wheel, your best bet is the Graphics2D API. Good Luck!