I'm using the xulrunner 1.8.1.3 within an Java Application.
The Java library for xulrunner is quit big, but without an API or some
good examples not very useful.
I can walk through the DOM. That works fine after understanding it :).
Is there a way to invoke JavaScript functions from the current
nsIDOMWindow, nsIDOMDocument or other XPCOM Objects?
I can invoke JavaScript from my Java Instance of the Mozilla Browser but
that is not very useful, because every time I've to care about frameset
or iframe structures. It would be much better to invoke a JavaScript in
the right context (frame)...
Regards
Martin
Maybe you can send out a custom event from your XPCOM to the window.
And at the same time, add an eventlistener to the custom event to
the window.