Re: adding NSView from other application
Re: adding NSView from other application
- Subject: Re: adding NSView from other application
- From: Dmitry Markman <email@hidden>
- Date: Thu, 31 Mar 2005 00:28:34 -0500
On Mar 30, 2005, at 10:32 PM, Christopher Atlan wrote:
Way we not use in Java the CocoaCanvas? Because we need Java Applet
support in the WebKit, and we get this only if the WebKit do not run
in a Java Prozess.
well that's not entirely true
you do have applet support if you start JVM with the following command
line
java
-Xbootclasspath/p:/Library/Java/Home/lib/jaws.jar:/Library/Java/Home/
lib/netscape.jar:/Library/Java/Home/lib/ext/apple_provider.jar ......
I still don't quite understand why jdic project can't use that way for
MAC OS X
Cocoa WebKit launches its own JVM with that -X option (I think)
so your approach hypothetically will allow you to handle applets
because you'll create WebView from the process
that doesn't have any JVM so WebView will launch its own with all
appropriate options
I guess if you create webkit from the process that already has running
JVM then
webkit will use that JVM
and therefore if that JVM was launched without -Xbootclasspath
applets won't be handled properly
thanks
Dmitry Markman
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden