|
| [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.
-- GG
_______________________________________________ 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
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.