I was wondering if there was a Java swing component that uses webkit. Is it possible to create a webkit browser in Java - must I use JavaFX ?
You can also look at cross-platform JxBrowser Java library that allows embedding Chromium-based web browser control into Java AWT/Swing application. The library is developer by the company I'm working for.
It supports both Java Swing and JavaFX.
BTW: the browser control is totally lightweight. All rendering happens in a separate native process by native Chromium engine. The web page looks like it's displayed in Google Chrome.