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