-
-
Save bitterfox/adb8725c264e0fe060867b64e3c32528 to your computer and use it in GitHub Desktop.
Shinya's Demo on https://youtu.be/op6zZDypPg8 in pure Java 8/9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)); | |
stage.show(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment