Introduction to JavaFX
summary
Demonstrates embedding WebKit via WebView/WebEngine, using the load worker and JavaFX bindings to drive a progress bar, capturing alerts and popup requests, and running arbitrary JavaScript with executeScript. Shows two-way bridging by injecting a Java object with window.setMember so JavaScript can call back (exit app, pass data). Includes DOM manipulation via the engine’s document API, Firebug Lite injection for debugging, a Google Maps demo with routing and pins, and an eight-panel mix of web and JavaFX rendering that actually works.
AI-written summary · about
chapters (11)
- 0:00JavaFX Web View intro
- 1:05Basic WebView usage
- 5:20Integrating WebView
- 12:22Two-way JS communication
- 22:02DOM manipulation from JavaFX
- 25:35Debugging JavaScript
- 33:15Google Maps example
- 37:33WebView in complex apps
- 40:01Live editor demo
- 42:09Web vs JavaFX blur
- 46:04Q&A
related talks
46mJavaFX in the Web
59mJavaFX 2.0: Rich Internet Applications with the Java Platform
40mModernizing Java UIs Without JavaScript: Escape the Multi-Stack Trap
52mJavaFX Deployment
47mJava on the Desktop
59mSay the Words: Modern Java with JavaFX for Rich Client UIs
52mHistory of Java UI Development: Live. Die. Repeat.
49mJavaFX 8 everywhere; Write once runs anywhere
