12. Platform APIs

In this chapter, we look at a number of classes and functions in the JavaFX runtime that don’t fit elsewhere in this book. Almost all of these classes and functions are part of the common profile, which means that they are available on any platform that supports JavaFX.

We start by looking at some commonly used functions that are immediately available to all applications because the compiler automatically imports them for you. The most useful of these is println(), which we have already used many times in the example source code for this book. We then look at how JavaFX applications can access program arguments and system properties, and you see which of these properties are available on the various platforms on which JavaFX ...

Get JavaFX™ Developer’s Guide 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.