Hi, everyone
i have a problem while using swt's browser class. The class didn't allow inherit。But i need to get the html content after the browser has load the page ,and the browser didn't supply the funcion.
some one get a idea?
Thanks
I guess he means that swt's browser class can not be inherited from and also does not provide him a method to obtain html content of a page after the page is loaded. In this case, he asks how he can obtain html content of the loaded page from swt's browser class?
y ,you get the point.
I have solve the problem. Rewrite the calss.I found the Browser class actually use IE or Mozilla in it by OLE . I rewrite the IE class and add a function in it.
Thanks all the same!
Created a little webbrowser with that SWT browser component but it only allows you to set the html with (setText) but no way of getting the html of the loaded page.
Please tell me how you solved this problem. I need to get the source of the page and if possible also the pictures within it.
Is there maybe a way to get into the cached stuff of the site showed in the component?