JxBrowser (which used by Vaadin Designer) fail to work with my video card driver, as Chromium too.
With the --disable-gpu
option, it works fine.
Because Vaadin Designer control JxBrowser lifecyle I can't pass options via command line.
How can I pass --disable-gpu
option to JxBrowser via environment variable or config.file ?
Thanks
You can do that using the setChromiumSwitches() method of the BrowserPreferences class. Please take a look at the sample below:
BrowserPreferences.setChromiumSwitches("--disable-gpu");