Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'how to blank a MathGraphicsJPanel?' topicStudent Support Forum > General > "how to blank a MathGraphicsJPanel?"

Help | Reply To Topic
Author Comment/Response
Samuele Castrenzi
12/12/05 02:58am


Hi,
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:

myPanel.setMathCommand("");

Thank you,
Samuele.

URL: ,
Help | Reply To Topic