CHAPTER 11
Using JavaFX in Nashorn
In this chapter, you will learn:
- The JavaFX support in the jjs command-line tool
- Providing an implementation for the init(), start(), and stop() methods of the JavaFX Application class in scripts
- How to load and use JavaFX packages and classes using the predefined scripts
- Creating and launching a simple JavaFX application using a Nashorn script
Throughout this chapter, it is assumed that you have beginner-level experience in JavaFX 8. If you do not have experience in JavaFX, please learn JavaFX before reading this chapter.
JavaFX Support in jjs
The jjs command-line tool lets you launch JavaFX applications created ...
Get Scripting in Java: Integrating with Groovy and JavaScript now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.