Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: creating JFrame from C via JNI



Dr. Stephen Judd wrote:

I am trying to launch a Java program with a GUI front end from a C
program.
The launching, locating, and calling of methods is working fine, but
creating
a JFrame is causing an error that I cannot find enough documentation on:

Were you aware that Mac Java has Thread constraints when starting a JVM for a GUI app? If the threading is messed up the JVM works fine until you try and start the AWT event loop. I don't remember the exact details, but you could try searching the archives for keywords like JNI, Main Thread, AWT Event Loop, Launcher. _______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.