How to detect a webpage HAS been loaded in java -
I am using the following code to display a webpage:
string DownloadURL = "http?: //in.finance.yahoo.com/echarts%3ESEI # symbol =% 5Ensei; limit = 1 day; comparison =; indicator = quantity; ChartType = area, crosshairs = at; ohlcvalues = 0; logscale off =; source =, "; Java.awt.Desktop myNewBrowserDesktop = java.awt.Desktop.getDesktop (); Java.net.URI myNewLocation = new java.net.URI (downloadURL); MyNewBrowserDesktop.browse (myNewLocation); Now, I want to know when the page is completely full. (Wait dialog is displayed). How do I go about doing this? Thanks in advance
I'm afraid you can not do it once you browse () If all goes well, then the operating system takes care of launching the URI in the default browser and there is nothing back in your application (such as handles), then it is not possible.
Comments
Post a Comment