Simple java graph generator applet