[java] stopping gui threads
When I create a JFrame in my java app, several threads get started. Does anybody know how to get them to stop/go away after I''m done with the JFrame?
I''m trying to write a Win32 C++ program that uses JNI to load the Java VM and run a java application to do some user interface stuff then close down the java VM and process the input data using C++ code.
If the Java code uses System.exit() to quit, the whole program quits. If I just ''dispose'' of the windows the threads don''t seem to go away and the call to DestroyJavaVM never completes.
Thanks.
- Brad Pickering
http://home.earthlink.net/~uubp/
Home for organically grown games
- Brad Pickeringhttp://home.earthlink.net/~uubp/Home for organically grown games
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement