I am very new at java so please keep it as simple as possible...
My project wants me to create a graph and plot a few points.. then make the buttons work...

so far this is what I have been able to do and it compiles and runs, My question is how do I make ActionListener draw a line if say the button "X" is pressed (please take a look at my if statements, those currently only display a message...
Also my System.exit(0) button does not exit the program..

// Program 21_06_01: Applet: Draws a Parabola
// Program date 1/28/08
// This Program Draws a graph and a Prabola