Skip to Main Content
JavaFX in Action
book

JavaFX in Action

by Simon Morris
October 2009
Intermediate to advanced content levelIntermediate to advanced
384 pages
13h
English
Manning Publications
Content preview from JavaFX in Action

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

JavaFX For Dummies

JavaFX For Dummies

Doug Lowe
Mastering JavaFX 10

Mastering JavaFX 10

Sergey Grinev

Publisher Resources

ISBN: 9781933988993Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link