Desktop Development with TornadoFX
summary
A small Tetris clone called hellbound Tetris gets built with TornadoFX (a Kotlin wrapper for JavaFX) showing type-safe builders, typesafe stylesheets, dependency-injected scopes and an events bus, plus coroutines for the heartbeat. Claim: it takes about one fifth the code/time vs old Swing. Gotchas: DI singletons get garbage-collected if unused, UI updates must run on the FX thread (or use the coroutine bridge), and scenario tests suffer timing/race issues unless scoped.
AI-written summary · about
chapters (10)
- 0:00Start
- 2:05Why I Still Program on the Desktop
- 6:26Event Listener
- 11:34Dependency Injection
- 14:57Scenarios
- 22:49Heartbeat Notification
- 24:16Javafx Bridge
- 27:05Typesafe Style Sheets
- 31:49Presentation Mode
- 35:24Questions
related talks
41mKotlin and TornadoFX: The Next Frontier in Modern (Meta)Programming
50mKotlin: The Next Frontier in Metaprogramming
50mKotlin: The Next Frontier in Metaprogramming
51mArrowFx: Functional Programming for the masses
39mA TypeScript Fan's KotlinJS Adventures
27mTransforming a Java Desktop Application to Kotlin Multiplatform
28mA TypeScript Fan's KotlinJS Adventures
57mBuilding dynamic web apps with Kotlin, WebComponents and Htmx
