Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6. Using Images > Using an FXZ File in JavaFX

Using an FXZ File in JavaFX

Being able to use an FXZ file in your JavaFX script is a powerful and rewarding skill. It does not take much scripting to access an FXZ file. In fact, JavaFX provides a node just for the purpose of working with FXZ files. The FXDNode can be used to load images from an FXZ file.

The FXDNode is located in the javafx.fxd.FXDNode package. This package must be imported to load and work with FXZ files:


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint