title: JCEF (Java Chromium Embedded Framework) Browser does not load content; only blank screen on Eclipse
body: <p>I have been trying to get the Java version of Chromium Embedded Framework (JCEF) to work on Eclipse for some time. I am able to verify that the library files are working correctly, since if I run the included sample class files on the VM, the program runs and some webpage is displayed. However, if I run the program from Eclipse, the program will always display a blank window. I am able to verify that the library binary <code>jcef_helper.exe</code> is successfully run, but not matter how I link the .jar files and other library files, the webpage will not generate and there will always be a blank screen. I cannot pinpoint the issue here. I tried specifying path, adding the JCEF library path of my OS environment variables PATH field to no avail. I have followed the documentation, even sample files behave the same way when I have anything to do with compilation/ run. One note of interest, my Eclipse console will display this during run:</p>
  <pre><code>initialize on Thread[AWT-EventQueue-0,6,main]
  </code></pre>
  <p>Perhaps there is a thread issue?</p>
  <p>Code in question:</p>
  <pre><code>import java.awt.Component;
  import java.awt.Dimension;
  import java.awt.Toolkit;
  import javax.swing.JFrame;
  import javax.swing.WindowConstants;
  import org.cef.CefApp;
  import org.cef.CefApp.CefAppState;
  import org.cef.CefClient;
  import org.cef.CefSettings;
  import org.cef.browser.CefBrowser;
  import org.cef.handler.CefAppHandlerAdapter;
  
  public class WebV
  {
      public static void main(String args[])
      {
          Dimension dispDimension = Toolkit.getDefaultToolkit().getScreenSize();
          int width = (int)Math.round(dispDimension.getWidth() / 2);
          int height = (int)Math.round(dispDimension.getHeight() / 2);
  
          CefApp.addAppHandler(new CefAppHandlerAdapter(null)
          {
              @Override
              public void stateHasChanged(CefAppState state)
              {
                  if(state == CefAppState.TERMINATED)
                  {
                      System.exit(0);
                  }
              }
          });
          CefSettings settings = new CefSettings();
          settings.windowless_rendering_enabled = false;
          CefApp cefApp = CefApp.getInstance(settings);
          CefClient client = cefApp.createClient();
          CefBrowser browser = client.createBrowser(&quot;http://www.google.com&quot;, false, false);
          Component browserComponent = browser.getUIComponent();
  
          JFrame frame = new JFrame();
          frame.setTitle(&quot;WebV&quot;);
          frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
          frame.setSize(width, height);
          frame.setResizable(true);
          frame.setLocationRelativeTo(null);
  
          frame.add(browserComponent);
          frame.setVisible(true);
      }
  }
  </code></pre>
  <p>Tested with both <strong>Java 17</strong> and <strong>Java 8</strong>.
  Run on Eclipse, with VM args:</p>
  <pre><code>-Djava.library.path=./bin/lib/win64
  </code></pre>
  <p>Any inupt would be greatly appreicated.</p>