Java Reference
In-Depth Information
2
Creating JavaFX
Applications
In this chapter, we will cover the following topics:
F Building a JavaFX application
F Drawing simple shapes
F Creating complex shapes using Path
F Creating shapes with constructive area geometry
F Drawing letter shapes using the Text class
F Handling user input
F Arranging your nodes on stage
F Making your scripts modular
F Creating your own custom node
F Controlling your application's window style
F Going full-screen
Introduction
JavaFX Script was designed with the sole intent of being a language to create graphically-rich
user interfaces. Instead of the traditional imperative and dense boilerplate code (as found
in Java and other general purpose languages), JavaFX adopted an intuitive and declarative
scripting-style that lets developers quickly create complex graphical components with
simplified constructs.
 
Search WWH ::




Custom Search