<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:Courier New,courier,monaco,monospace,sans-serif;font-size:12pt"><div><font size="3"><span style="font-family: times new roman,new york,times,serif;">I am interested in using Java event mechanism to invoke<br>Scilab plotting. To this end, I tried to run the example ihm in javasci module. </span><br style="font-family: times new roman,new york,times,serif;"><span style="font-family: times new roman,new york,times,serif;">When I compile the Java code and then run the Java application,<br>it sets up Frame with a button and textfield. When I click the button, <br style="font-family: times new roman,new york,times,serif;"></span><span style="font-family: times new roman,new york,times,serif;">I get the following error:</span><br style="font-family: times new roman,new york,times,serif;"></font><br>Warning !!!<br>Scilab has found a critical error (Unknown
 exception)<br>with "plot2d" function.<br>Save your data and restart Scilab.<br><br><font size="3"><span style="font-family: times new roman,new york,times,serif;">The plot2d() statement is in MonPanneau class, YA_EU_UN_Click() method. </span></font><br><font size="3"><span style="font-family: times new roman,new york,times,serif;">Then I inserted scripts for simple examples from plot2d1 and plot3d,</span><br style="font-family: times new roman,new york,times,serif;"><span style="font-family: times new roman,new york,times,serif;">into the </span></font><font size="3"><span style="font-family: times new roman,new york,times,serif;">YA_EU_UN_Click() method, </span></font><font size="3"><span style="font-family: times new roman,new york,times,serif;">with the same result. </span></font><br><br><br><font size="3"><span style="font-family: times new roman,new york,times,serif;">I tried to run the batch file in the ihm folder, it opens scilex window</span><br
 style="font-family: times new roman,new york,times,serif;"><span style="font-family: times new roman,new york,times,serif;">and no plot. </span></font><br><br><font size="3"><span style="font-family: times new roman,new york,times,serif;">Thanks!</span><br style="font-family: times new roman,new york,times,serif;"><span style="font-family: times new roman,new york,times,serif;">Prabhakar</span></font><br><br><br></div></div></body></html>