Integrate your system with JXBrowser.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Documentation JXBrowser - https://jxbrowser.support.teamdev.com/support/solutions
Tutorial - https://www.youtube.com/watch?v=7rVChaNN33U
Follow these steps for the integration to work properly
This is my license, this line of code is MANDATORY to work!
BrowserUtil.setVersion(Version.V6_22);
This is optional, it is for you to create a "profile" for the browser, so it will always save a session of WhatsApp, Facebook, etc ... It's like the history of Google Chrome
BrowserContextParams params = new BrowserContextParams(perfil);
BrowserPreferences.setChromiumSwitches("user-data-dir=" + perfil);
BrowserContext context = new BrowserContext(params);
browser = new Browser(context);
If you want a fixed URL, do not put a String as a parameter, change the String to a true URL, for example: www.google.com. If you want to create something interactive, use the String.
//browser.loadURL(URL);
browser.loadURL("www.google.com");