You are on page 1of 1

import com.teamdev.jxbrowser.chromium.

Browser;
import com.teamdev.jxbrowser.chromium.swing.BrowserView;

import javax.swing.*;
import java.awt.*;

/**
* The sample demonstrates how to create Browser instance, embed it,
* load HTML content from string, and display it.
*/
public class JavaApplication1 {
public static void main(String[] args) {
Browser browser = new Browser();
BrowserView view = new BrowserView(browser);

JFrame frame = new JFrame("OPTIMIZACION - Travels tour Ana Belen E.I.R.L");


frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
frame.add(view, BorderLayout.CENTER);
frame.setSize(500, 400);
frame.setLocationRelativeTo(null);
frame.setVisible(true);

browser.loadURL("https://www.google.es/maps");
}
}

You might also like