How to load an external url in Codename One WebBrowser component?
问题 Can anyone help me? I've got an App in development and a core feature is to load a third party webpage (URL) that has css and javascript in the Codename One WebBrowser component. My questions are:- 1. How do I load the url? 2. Is it possible to interact with the javascript on this url like alerts and confirms? 3. How to switch between Device default browser etc? Thanks. 回答1: A native WebBrowser component is laid out a-synchronously which means its preferred size is calculated later and so the