I am facing few problems while integrating the Scilab 5.1.1 with Java
Swing application. These problems only occurs if we draw a graphics
in Scilab function .e.g. calling Scilab.Exec("plot()")from java swing
The problems I faced are
1) The swing application goes in dead lock state. To solve this
problem we call the plot function in different thread but this also
does not solve the problem. Calling the Scilab function on different
thread and keeping the swing thread waiting for the output cause the
dead lock again. In our application we want to display the data to
user that come from Scilab after completion of function so we have to
wait for the Scilab call to finish.
2) If we use Java swing JFrame in our application for complete support
of Swing functionality Scilab minimizes the application when call to
Scilab function (which plot the graphics) is made. This behavior
forces us to use Frame instead of JFrame so we cannot use the full
functional use of Swing.
Are these known issues? If yes then is any workaround present? Please
help us as these issues are blocking our development.
||1/18/2010 6:50:34 AM