Hi,
Answered here: 
https://stackoverflow.com/questions/65380666/browsercomponent-with-infiniteloop

On Sunday, December 20, 2020 at 3:30:01 PM UTC+2 [email protected] wrote:

> Hi,
>
> How do I add an Infinite progress till the WebPage is fully loaded?
>
> Form hi = new Form("Hi World");
>         hi.setLayout(new BorderLayout());
>         final BrowserComponent wb = new BrowserComponent();
>         hi.addComponent(BorderLayout.CENTER, wb);
>
>         final Dialog ipDlg = new 
> InfiniteProgress().showInifiniteBlocking();
>         wb.setURL("https://www.codenameone.com";);
>         wb.addWebEventListener("onLoad", new ActionListener() {
>
>        
>             @Override
>             public void actionPerformed(ActionEvent evt) {
>                 throw new UnsupportedOperationException("Not supported 
> yet."); //To change body of generated methods, choose Tools | Templates.
>             }
>  });
>  
>
>         hi.show();
>         ipDlg.dispose();
>
> Regards,
> Michael
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/ae54cf5a-2e84-4b62-8441-e307eecb1b51n%40googlegroups.com.

Reply via email to