First off, to the embedding and java newsgroup members, where do questions for Java Webclient belong? It's related to both Java and embedding.

With regard to instantiating a BrowserControlCanvas in a JPanel, it looks like this is related to http://bugzilla.mozilla.org/show_bug.cgi?id=82134. You may have to instantiate in a Frame or JFrame until that bug is resolved.

On 11/14/2002 3:19 AM, Remus Stratulat wrote:

I want to embed BrowserControlCanvas in a JPanel to obtain a component
that will be further added on a interface.
I have this problem: when adding the BCC on a JFrame I get:

{quote}

+++ In appInitialize - after createWrapperFactory +++

native library does implement webclient.WindowControl
Type Manifest File: $MOZILLA/dist/bin/components/xpti.dat
nsNativeComponentLoader: autoregistering begins.
nsNativeComponentLoader: autoregistering succeeded

{/quote}

and everything goes ok.

If I add BCC on a JPanel:

{quote}

+++ In appInitialize - after createWrapperFactory +++

native library does implement webclient.Navigation
native library does implement webclient.WindowControl
native library does implement webclient.CurrentPage
native library does implement webclient.EventRegistration
org.mozilla.util.AssertionFailureException
Type Manifest File:
/home/strem/work/mozilla/dist/bin/components/xpti.dat
nsNativeComponentLoader: autoregistering begins.
nsNativeComponentLoader: autoregistering succeeded


{/quote}

and everything crashes.

Now what I do wrong? Can BCC be embeded only in a Frame? I don't think
so. I guess it needs some informations that are provided by Frame but
not by other comps.

Thanks,
Remus Stratulat






Reply via email to