[Logo] OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Get Message when Browser did finish loading  XML
Forum Index -> Development
Author Message
rspiller

Power User

Joined: 20/04/2012 07:37:01
Messages: 59
Offline

Hi,

Is there a chance to implement a ActionListener on the browser component to determine if it finished loading the page.

Scenario:
We have to do a Screenshot of a google Search within the browser component. Right now we use a timer of 5seconds to wait the page to load. Very slow computers may need more time then 5secs to load the page and the screengraber would make a screenshot of a empty browser.
The more usable way to tell the screengrabber to do a screenshot instead of wait for the timer, is a message that the page was loaded.

Aye?
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

Hi,

currently there is no way...

But: I checked the internal control that we are using (this is the Eclipse Browser component) and this seem to have some type of progress listener, where you can get notified about the page-status...

We will take a deeper look, give us some more time for evaulation.

Regards, Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team