title: Codename One - Cross-platform BrowserComponent page loading indicator
body: <p>I'm developing an app with BrowserComponent. Sometimes the screen remains "all white" for (too much) seconds, because the page loading is slow: an app user can figure out that the app is blocked, but it's not so. I guess that a (well done) "page loading indicator" can be useful. </p>
  
  <p>In the developer guide of Codename One, it's written so:</p>
  
  <p><em>On Android a native indicator might show up when the web page is loading. This can be disabled using the Display.getInstance().setProperty("WebLoadingHidden", "true"); call. You only need to invoke this once.</em> </p>
  
  <p>Ok, but that indicator is only on Android and it's not nice. I need a better page loading indicator that:</p>
  
  <ul>
  <li>it's cross-platform (al least Android and iOS);</li>
  <li>it's not obtrusive;</li>
  <li>it gives the user an idea of the percentuage of the loading.</li>
  </ul>
  
  <p>For example, look at this screenshot:
  <a href="https://scdn.androidcommunity.com/wp-content/uploads/2011/12/Screenshot_2011-12-23-18-55-56-303x540.png" rel="nofollow noreferrer">https://scdn.androidcommunity.com/wp-content/uploads/2011/12/Screenshot_2011-12-23-18-55-56-303x540.png</a></p>
  
  <p>In the screenshot, between the address bar and the page body, there is a thin, blue and good-looking progressbar, that is a page loading indicator. </p>
  
  <p>How can I implement something of similar that works toghether the BrowserComponent? </p>
  
  <p>Thank you very much for any help.</p>