chromiumembedded / java-cef

Java Chromium Embedded Framework (JCEF). A simple framework for embedding Chromium-based browsers in other applications using the Java programming language.
https://bitbucket.org/chromiumembedded/java-cef
Other
655 stars 147 forks source link

Display exceptions when the browser background is transparent #474

Open lzm515 opened 5 months ago

lzm515 commented 5 months ago

Code: CefSettings settings = new CefSettings(); settings.windowless_rendering_enabled = true; cefApp_ = CefApp.getInstance(settings); client_ = cefApp_.createClient(); browser_ = client_.createBrowser("xxx.html", true, true); browserUI_ = browser_.getUIComponent(); the background of a browser should be transparent, but it is like this 2cf349e3daa1e388f6c8115ef195475c The background should not be a red and blue gradient