I have been banging on this for about a week now with no success.
Perhaps someone more experienced can help.  I have downloaded,
installed, and tested webclient 2.0a3 (using ant and the included
build.xml).  I have built a basic Swing based app using Netbeans, and
written most of the basic code to get things working.   I am at the
point where I enter a URL, and the loadURL(...) method invokes. I have
some trace output coming from the various WebClientEvents passed to
eventDispatched.

I have associated the canvas to a frame (Center, using borderlayout),
via:

...
browserCanvas = (BrowserControlCanvas)
browserControl.queryInterface(BrowserControl.BROWSER_CONTROL_CANVAS_NAME);
          panelBrowser.add(browserCanvas, BorderLayout.CENTER);
...

To verify that my panel worked, I added a Label to it at this same
place in code. It displayed.

I have added (this) as a listener via:
eventRegistration.addDocumentLoadListener(this);

So, I am able to loadURL(...), and display the status coming from the
eventDispatched.. however, the canvas never seems to display! All I see
is a grey, empty panel..

I've been comparing the EMWIndow class with mine and still can't see
anything missing.  Perhaps it's because I'm extending a JFrame instead
of a Frame??

Any advice is greatly appreciated!

Thank you,
-Sean

_______________________________________________
mozilla-embedding mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to