Page 1 of 1

How to include the JCEF MainFrame sample into a project

PostPosted: Wed May 26, 2021 9:59 am
by smartBeaver
I have been trying to use an embedded chromium browser in a Java application. For this, I am using JCEF. I have built JCEF by following the readme but now I am lost as to how to integrate it into my project. I am looking for instructions similar to the ones posted here:

https://stackoverflow.com/questions/211 ... -with-java

But more up to date (since some paths he mentions do not exist in my version of JCEF). I am using Ubuntu 20. If someone could provide me with the steps required or a a nudge in the right direction it would be a great first step. I tried:

-making a jar folder with the gluegen jars in it.

-moving the org folder to my project folder.

How would I run the resulting project using netbeans or the command line? Thank you for reading!

Re: How to include the JCEF MainFrame sample into a project

PostPosted: Wed May 26, 2021 11:49 am
by magreenblatt
See the manual packaging instructions for a stand-alone app. I'm not sure what would be required for NetBeans integration.

Re: How to include the JCEF MainFrame sample into a project

PostPosted: Wed May 26, 2021 2:21 pm
by smartBeaver
Thanks, I will modify the included MainFrame to suit my needs instead of including it into another project.