Problems with intigration of Scilab in Java Swing application

  • Follow


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
application
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.
0
Reply praveen 1/18/2010 6:50:34 AM


0 Replies
530 Views

(page loaded in 0.025 seconds)

Similiar Articles:











7/21/2012 8:10:08 PM


Reply: