© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
P. SpäthFrontend Development with JavaFX and Kotlinhttps://doi.org/10.1007/978-1-4842-9717-9_3

3. Stages and Scenes

Peter Späth1  
(1)
Leipzig, Germany
 
Any GUI toolkit needs a way to communicate with the operating system. It must be possible to detect simultaneously connected monitors and query their size, resolution, and other features, and there must be an interface for opening, closing, and selecting windows. In this chapter, we investigate
  • Screens

    A screen encapsulates the characteristics of real or virtual visual devices.

  • Stages

    A stage is a top-level container of JavaFX. Often, but not necessarily always, it corresponds to a window. A primary stage ...

Get Frontend Development with JavaFX and Kotlin: Build State-of-the-Art Kotlin GUI Applications 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.