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: JavaEmbedding API - anyone had any success using it?



I solved the problem anyway - it was a matter of not translating the mouse click coordinates to the local control. GlobalToLocal() did the trick.

I know with Windows and Motif, you can embed a Panel into an WEmbeddedFrame, using a native HWND. Is there anything like that in the Mac World? I've been given the task of trying to get a JFrame to draw inside a native app. Is there any way to create the java Window object given either a GrafPtr or a WindowRef from JNI?

On May 25, 2005, at 12:48 AM, M. Halpin wrote:


This is probably not the answer you're looking for, but I noticed in the
10.4 Java release notes, the JavaEmbedded API is considered deprecated.
The listed workaround says:


Carbon applications can use the Netscape 4.0 style plugin in Java
Applet.plugin, found in /Library/Internet Plug-Ins/. Cocoa applications
should use the JavaPluginCocoa.bundle with the Web Kit plugin interface
available in Mac OS X v10.4.

So maybe you might want to give that a try instead.
 _______________________________________________
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


_______________________________________________ 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
References: 
 >Re: JavaEmbedding API - anyone had any success using it? (From: "M. Halpin" <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.