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 5. Behind the scene graph

This chapter covers

  • Defining a scene graph
  • Animating stuff on screen, with ease
  • Transforming graphics and playing with color
  • Responding to mouse events

In chapter 4 we looked at building a rather traditional UI with Swing. Although Swing is an important Java toolkit for interface development, it isn’t central to JavaFX’s way of working with graphics. JavaFX comes at graphics programming from a very different angle, with a focus more on free-form animation, movement, and effects, contrasting to Swing’s rather rigid widget controls. In this chapter we’ll be taking our first look at how JFX does things, constructing a solid foundation onto which we can build in future chapters with evermore sophisticated and ...

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