I'm writing a Java program which displays math function plots (using J/Link)
in a MathGraphicsJPanel.
Well, at startup, when no plot command is given, the panel appears completely white,as expected.
Is there a way of cleaning out the panel and return back to the initial condition
(COMPLETELY white panel) after having plotted something?
I've tried the following code, but it is not the right solution, as it
shows "Null" in the middle: