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

Application and JavaFX subsystems

The very first API, javafx.application.Application, represents the program itself. It prepares everything for us to start using JavaFX and is an entry point for all standalone JavaFX applications. It does the following:

  • Initializes JavaFX toolkit (subsystems and native libraries required to run JavaFX)
  • Starts JavaFX Application Thread (a thread where all UI work happens) and all working threads
  • Constructs the Application instance (which provides a starting point for your program) and calls the user-overridden methods
  • Handles application command line parameters
  • Handles all cleanup and shutdown once the application ends

Let's look closely at each of these steps.

主站蜘蛛池模板: 武胜县| 称多县| 潞城市| 治县。| 齐河县| 岳阳市| 仙居县| 瑞金市| 遵化市| 鹤峰县| 巴彦淖尔市| 中阳县| 金塔县| 合江县| 衡山县| 大化| 达州市| 正蓝旗| 吴旗县| 克拉玛依市| 阳西县| 云霄县| 灵武市| 陈巴尔虎旗| 宜宾县| 聂拉木县| 诸城市| 酒泉市| 徐水县| 望城县| 蕉岭县| 眉山市| 瑞丽市| 扎兰屯市| 乌苏市| 北京市| 专栏| 桦甸市| 益阳市| 天门市| 永福县|