Chapter 2. JavaFX Script data and variables
This chapter covers
- Introducing JavaFX Script variables
- Doing interesting things to strings
- Getting linear, with ranges and sequences
- Automating variable updates using binds
If chapter 1 has had the desired effect, you should be eager to get your hands dirty with code. But before we can start dazzling unsuspecting bystanders with our stunning JavaFX visuals, we’ll need to become acquainted with Java FX Script, JavaFX’s own programming language. In this chapter, and the one that follows, we’ll start to do just that.
In this chapter we will look at how variables are created and manipulated. JavaFX Script has a lot of interesting features in this area, beyond those offered by languages like Java ...
Get JavaFX in Action 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.