On Apr 24, 2:14 pm, Michal Ceresna <[EMAIL PROTECTED]> wrote:
> On Monday 23 April 2007, krithika wrote:
>
> The tabbed browsing functionality is implemented using XUL.
> So you have to load the XUL of with a tabbed browser,
> get JS object implementing the tabbed browser and call its methods.
>
> Probably, the easier way is  just open more embedding windows ;-)
>
> best regards,
> Michal
>
> > Hi,
>
> > I have embedded gecko in a java application.Using WebNavigation I am
> > to load url and get the rendered DOM.
>
> > I want to load multiple urls simultaneously as in a tabbed browser.I
> > thought of using nsIBrowserDOMWindow as shown
>
> > nsIDocShellTreeItem docShellTreeItem = (nsIDocShellTreeItem)
> > webNavigation.queryInterface(nsIDocShellTreeItem.NS_IDOCSHELLTREEITEM_IID);
>
> > nsIDocShellTreeItem rootitem=docShellTreeItem.getRootTreeItem();
>
> > nsIDOMWindow dwin =
> > nsIDOMWindow)rootitem.queryInterface(nsIDOMWindow.NS_IDOMWINDOW_IID);
>
> > QI for DOMWINDOW returns an error condition  (0x80004002).
>
> > how to I do make my embedded browser open url's in multiple tabs.
>
> > Thanks in Advance,
> > Krithika
>
> > _______________________________________________
> > dev-embedding mailing list
> > [EMAIL PROTECTED]
> >https://lists.mozilla.org/listinfo/dev-embedding


Yes I tried embedding more windows.Mozilla.java is singleton class I
need multiple JVMs to embed more windows.So I just thought tabbed
browsing will be easier.

regards,
Krithika


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

Reply via email to