Matlab / JAVA GUI
Hi there,
I try to interface Matlab code with a JAVA graphical interface ... so I created first my matlab library and then created an other one with c++/matlab I can call from JAVA with JNI ;)
everything work well but ... here is my problem:
When I initialize my matlab library, the GUI just go away !! without any prompt !! so I don't know at all what happen ...
I try to initialise the library when I built my main class ... there is no crash but the L&F is different and the JFileChooser is not accessible anymore ! so I try to make the library being intialised on a click event ... what lead to a crash (the GUI go away without any prompt) ... so there is definitly interaction between JAVA GUI and matlab !!!
Did anybody has the same trouble ? and if yes how did you do to figure out ?
my guess is matlab use a different JVM and kill the other one (the GUI one) ... and if initialise at the begining all the application run under a older JVM (what lead to a different comportement). What do you think about that ?
please I'm so frustrated about that as far I'm on this problem since several days !!
Do you have any solution (other that to change the GUI language !)
thx
Jerome

