On Jul 13, 3:42 pm, moi <[EMAIL PROTECTED]> wrote:
> Hi everybody,
>
> I'm trying to embed XULRunner into my Java application using
> JavaXPCOM. The problem is that I can't call the initWindow(...) method
> from the nsIBaseWindow interface. The first parameter is supposed to
> be a long which represents the parent JFrame (well, actually, it's
> what I understood, I'm not sure).
>
> How am I supposed to find this long ? I don't want to use SWT, I
> prefer AWT or Swing.
>
> Please help me. Thanks in advance

There is no simple answer, but you can start looking from this thread:
"http://forum.java.sun.com/thread.jspa?threadID=593759";. It looks like
the method to get a native handle of an AWT component differs from
version to version.

_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to