Added timer class to the frmGraph.java to run the repaint function every 10 seconds.