官术网_书友最值得收藏!

Stages, Scenes, and Layout

During the last decade, user interfaces have evolved beyond the capabilities of the old Java technologies. Modern users want to work with visually appealing applications and are used to the rich user interfaces brought by Web 2.0 and smartphones.

To address that, JavaFX was envisioned and added to Java a few releases ago. It was created from scratch to avoid any backward compatibility issues, and with a great understanding of the needs of modern user interfaces.

In this book, we will review the most important JavaFX APIs and will look into resolving some of the most common problems that JavaFX developers face, based on my development experience and over 500 questions I've answered in the JavaFX section of stackoverflow.com.

In the first chapter, we will start with the backstage of a JavaFX application, including its windows and content area, and see which API is responsible for each of these main building blocks:

  • Application: This handles the application workflow, initialization, and command-line parameters
  • Stage: The JavaFX term for the window
  • Scene: This is the place for the window's content
  • SceneGraph: The content of the Scene

At the end of the chapter, we will create a clock demo that will demonstrate the concepts from this chapter.

主站蜘蛛池模板: 修武县| 彭水| 盖州市| 奇台县| 高碑店市| 磐安县| 新丰县| 榆社县| 永川市| 山西省| 万全县| 乃东县| 五河县| 乌什县| 山阳县| 富川| 鹤壁市| 察隅县| 疏勒县| 交城县| 开封县| 广汉市| 九龙县| 昭觉县| 扶沟县| 栖霞市| 南澳县| 晋城| 股票| 榆中县| 石棉县| 驻马店市| 固始县| 上杭县| 镶黄旗| 大姚县| 潮州市| 丹阳市| 定西市| 乌什县| 宜君县|