How could I know whether org.eclipse.swt.browser.Browser.setText(html) renderred html completed
org.eclipse.swt.events.Progresslistner{ public void completed(ProgressEvent e){} }
the method completed(ProgressEvent) only means the browser has loaded t开发者_运维技巧he html, but still not ready to render. What I needed is a callback when render completed. Is there any way could do this?
thx
I think you need method changed()
from LocationListener
and test whether event.top
is true
精彩评论