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: JPanel in HIView via JNI?




On 21 Aug 2006, at 14:50, Mike Purdy wrote:

Does anyone know how to have a JPanel reside in an HIView? Or, if it even possible at all...

I should imagine this would be very tricky because OS X Java is based on Cocoa, not Carbon. However, there's a possible let out: you can embed a Web Kit view in an HIView (there's sample code and documentation at http://developer.apple.com/documentation/Cocoa/ Conceptual/DisplayWebContent/Tasks/CarbonApps.html) and it's just barely possible that you might be able to put an Applet in one which would let you show your JPanel without going completely mad. I don't know if anyone has ever done this though, or even if it's possible.


Jerry

_______________________________________________
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: 
 >JPanel in HIView via JNI? (From: "Mike Purdy" <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.