JxBrowser supports Java Swing. To embed component that displays web pages you need to create Browser instance and wrap it into com.teamdev.jxbrowser.chromium.swing.BrowserView component. The BrowserView is a lightweight component that inherits javax.swing.JComponent. It can be embedded into any Swing container such as JPanel, JWindow, JFrame, etc. 

import com.teamdev.jxbrowser.chromium.Browser;
import com.teamdev.jxbrowser.chromium.swing.BrowserView;
import javax.swing.*;
import java.awt.*;
 * This sample demonstrates how to create Browser instance,
 * embed it into Swing BrowserView container, display it in JFrame and
 * navigate to the "www.google.com" web site.
public class BrowserSample {
    public static void main(String[] args) {
        Browser browser = new Browser();
        BrowserView browserView = new BrowserView(browser);
        JFrame frame = new JFrame();
        frame.add(browserView, BorderLayout.CENTER);
        frame.setSize(700, 500);