Hello,
in my application I use jcef to show pages generated by the app at runtime, using method browser.loadString(String html, String url); .
To do this I create a browser as follows: client.createBrowser("about:blank", OS.isLinux(), false);
than I call method browser.loadString("html content", "fake url");
I am facing a timing problem, in fact if I don't put a wait cycle between createBrowser and loadString, the loadString method doesn't have effect.
2 questions: is there a way to instance a browser passing HTML content instead of a String?
If not, how could I determinate when a browser instance is ready for submitting html content?
Thanks,
Stefano