How to get JRexCanvas for Browser opened by openNewTab/openNewWindow with winManager??

Mitesh51 <mit_bca1-/[email protected]> Wed, 24 Sep 2008 06:58:09 -0700 (PDT)
Newsgroups gmane.comp.mozilla.jrex
Message-ID <[email protected]>
JRexCanvas canvas =
(JRexCanvas)winManager.getBrowserForRootParent(panel1).next();
		try {
		
canvas.getNavigator().loadURI("http://www.yahoo.com",WebNavigationConstants.LOAD_FLAGS_NONE,
null, null, null);
		} catch (JRexException e) {
			e.printStackTrace();
		}

	winManager.openNewTab(canvas.getJRexPeer(), "www.google.co.in",
WebNavigationConstants.LOAD_FLAGS_NONE);
		winManager.openNewTab(canvas.getJRexPeer(), "www.hotmail.com",
WebNavigationConstants.LOAD_FLAGS_NONE);
-------------------------------------------------------------------------------------------
Now the problem is......

If i want the JRexCanvas for "yahoo.com" i will get it by using

Iterator itr=winManager.getBrowserForRootParent(panel1);

but how do I get JRexCanvas for google and hotmail ?? since i m using
openNewTab/openNewWindow according to the source code it opens it in a
different root container so above method to get JRexCanvas doesnt work.


-- 
View this message in context: http://www.nabble.com/How-to-get-JRexCanvas-for-Browser-opened-by-openNewTab-openNewWindow-with-winManager---tp19649522p19649522.html
Sent from the MozDev - jrex mailing list archive at Nabble.com.