Making a graph plot - Need to calculate x and y in own thread
<p>So, I am making a graph. Calculating x and y is beeing done width a for-loop that goes from 0 to 5000. It takes to long time to load, so I was thinking of putting in it own thread and maby plot as the numbers are calculated, rather than plot when everything is finished?</p>

<p>I have to files, Graph.java takes in a equation and sends it to GraphDrawer.java for plotting.</p>

<p>Graph: <a href="http://pastebin.com/tBvr1d03" rel="nofollow">http://pastebin.com/tBvr1d03</a>
GraphDrawer: <a href="http://pastebin.com/8ZwUS75u" rel="nofollow">http://pastebin.com/8ZwUS75u</a></p>
