Show browser after load.

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

Show browser after load.

Postby bosko » Wed Nov 04, 2015 12:09 pm

Hi,

I have multiple browsers that I want to load on application start. All browsers should not be shown on start (only loaded).

I tried in simple JFrame to remove setVisible(true) command and have false value for visible flag. Browser can't load !!!

If I try setVisible(true); and then setVisible(false); -> browser loads content but I have window blinking.

I turned on offscreen rendendering mode.

PLEASE HELP ME
bosko
Techie
 
Posts: 28
Joined: Tue May 01, 2012 10:47 am

Re: Show browser after load.

Postby everflux » Thu Nov 05, 2015 9:33 am

I have the same problem, I even have to Thread.sleep(200) before loading any URL, otherwise the browser will just show a yellow background. Sorry, I don't have a workaround yet.

Which java and jcef/cef version are you using?
everflux
Newbie
 
Posts: 3
Joined: Wed Nov 04, 2015 10:46 am

Re: Show browser after load.

Postby JavaProgramer » Thu Nov 05, 2015 5:10 pm

Hi everflux,
I tried with both java 7 and java 8 and the latest build of JCEF with recomended CEF build (3.2454.1317.gc22b77d).
If someone find/found solution please write here and help us!
JavaProgramer
Newbie
 
Posts: 8
Joined: Sat Nov 30, 2013 10:05 am


Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 51 guests