loadURL does not work

Having problems with building or using the JCEF Java binding? Ask your questions here.

loadURL does not work

Postby guich » Wed Jul 31, 2019 3:26 am


I'm using jCEF and am trying to do a simple thing: load an url before the first url is shown.

I tried this:

browser = client.createBrowser("", true, false); // already tried: about:blank, "", null, http://www.google.com
... later,

The results is that only the address passed on createBrowser works... the loadURL fails, and no logs are sent to console, even using LOGSEVERITY_VERBOSE

any clues?



Ps: i'm using binaries from https://mvnrepository.com/artifact/com. ... oraig/jcef
Posts: 19
Joined: Tue Jul 30, 2019 10:11 am

Re: loadURL does not work

Postby magreenblatt » Wed Jul 31, 2019 7:59 am

You need to pass fully qualified URLs to loadURL.
Site Admin
Posts: 9831
Joined: Fri May 29, 2009 6:57 pm

Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 2 guests