This method of the WebBrowser class retrieves the name of the resource that Microsoft® Internet Explorer is currently displaying.
public synchronized java.lang.String getLocationName();