I have a pair of questions:
1. Is anyone working on the bug mentioned below? I would love to help out on solving it, but I believe it may be slighly beyond my reasources right now. If it's already been solved or worked around can someone point me in the right direction.
2. I've messed around a little with embedding Internet Explorer in java apps and after much digging found a problem. It can only be put on heavyweight widgets (Frame, Panel etc). Lightweight widgets like a JPanel and JTabbedPane cannot be done. Would there be a similar issue to this using Mozilla, since it seems to be the same process, i.e. loading a native app onto a Java surface?
Any information on these questions would be most welcome, as I'm currently writing a program that makes use of webpages heavily, but browsing isn't its primary purpose.
Michael Scanlon
Michael Epstein wrote:
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
