Skip to content

Instantly share code, notes, and snippets.

@denkspuren
Last active July 24, 2016 22:08
Show Gist options
  • Save denkspuren/4ce3cefa6f88f0b58eefca7196efcdca to your computer and use it in GitHub Desktop.
Save denkspuren/4ce3cefa6f88f0b58eefca7196efcdca to your computer and use it in GitHub Desktop.
Shinya's Demo on https://youtu.be/op6zZDypPg8 in pure Java 8/9
import javafx.application.Application;
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.web.WebView;
public class WebApp extends Application {
public static void main(String[] args) {
launch(args);
}
@Override
public void start(Stage stage) throws Exception {
WebView wv = new WebView();
wv.getEngine().load("http://www.thm.de");
stage.setScene(new Scene(wv,800,600));
stage.show();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment