This method of the IWebBrowser2 interface retrieves a pointer to the IDispatch interface of the object that is the container of the WebBrowser control.
public java.lang.Object getParent();