Swing toolkit

To use Equo Chromium with the Swing toolkit, you will also need to override the default close operation so that browser processes are disposed of when you close the window [1].

import java.awt.BorderLayout;
import javax.swing.JFrame;

import com.equo.chromium.ChromiumBrowser;

public class Swing extends JFrame {

	Swing() {
		setDefaultCloseOperation(DISPOSE_ON_CLOSE); //[1]
		ChromiumBrowser browser = ChromiumBrowser.swing(getContentPane(), BorderLayout.CENTER,
		setSize(800, 600);

	public static void main(String[] args) {
		new Swing();