import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.layout.FlowPane; import javafx.scene.web.WebEngine; import javafx.scene.web.WebView; import javafx.stage.Stage; import java.net.MalformedURLException; import java.net.URL; public class WebTest extends Application{ @Override public void start() { Stage stage = new Stage(); stage.setTitle("Web Browser?"); WebView webView = null; try { webView = new WebView(new WebEngine(new URL("http://www.google.com.br"))); } catch (MalformedURLException e) { // TODO Auto-generated catch block e.printStackTrace(); } FlowPane fp = new FlowPane(); fp.getChildren().add(webView); stage.setScene(new Scene(fp)); stage.sizeToScene(); stage.setVisible(true); } }