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



Doug Zwick wrote:

>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.

I think it's covered in the SimpleJavaLauncher example:
  <http://developer.apple.com/samplecode/Java/index-date.html>

The example includes a main class that extends JFrame.

  -- GG


 _______________________________________________
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.