JavaFX

Adding JSR-223 Scripting Language ooRexx to the JavaFX WebView Control.

Table of Contents

  1. Introduction
  2. Background
    1. Flexibility in coding
    2. The prevalence of JavaScript / EMCAscript
    3. Java and JavaFX WebView
    4. JSR 223
    5. The ooRexx Language
  3. Proof of Concept
    1. Creating a simple Browser Application
    2. Incorporating other scripting languages
    3. Comparing functionality
  4. Conclusion
  5. Appendix
Start12 345 6
Research topic
Check existing projects
Code proof of concept
Write introduction
Write background
Write proof of concept
Write conclusion
Format with LaTeX
Create Presentation

Progress so far

Minimalist browser using JavaFX WebView to load a website.

Also already half working: Accessing DOM-Elements. However, it is too early to show off. Thanks to o7planning for some of the example code.

public class WebViewMinimal extends Application {
    public void start(final Stage stage) {

        final WebView br = new WebView();
        final WebEngine webEngine = br.getEngine();
        webEngine.load("https://orf.at");

        VBox root = new VBox();
        root.getChildren().add(br);

        Scene scene = new Scene(root);
        stage.setScene(scene);
        stage.setWidth(800);
        stage.setHeight(600);
        stage.show();
    }
    public static void main(String[] args) {
        launch(args);
    }
}