|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
Jamison Hope wrote:
You should be fine. The JSheets example code does this. The native part uses performSelectorOnMainThread:… to do Cocoa GUI stuff on Thread 0, and then the "didEndSelector" callbacks (which are also run on Thread 0) attach to the JVM, do JNI to invoke a Java method, and then detach from the JVM. The Java methods use EventQueue#invokeLater (or SwingUtilities#invokeLater, same thing) to push execution back onto the EDT.
_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.