If I have a function for example y=x^2
How can I draw the curve?
Printable View
If I have a function for example y=x^2
How can I draw the curve?
draw where?
in a frame I need the curve to start in the middle
Drawing should be done on a JPanel (or other JComponent). Refer to the Custom Painting tutorial.