- Mastering JavaFX 10
- Sergey Grinev
- 103字
- 2021-06-25 21:21:50
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.
推薦閱讀
- 社交網(wǎng)絡(luò)對齊
- 物聯(lián)網(wǎng)(IoT)基礎(chǔ):網(wǎng)絡(luò)技術(shù)+協(xié)議+用例
- SD-WAN架構(gòu)與技術(shù)(第2版)
- Getting Started with WebRTC
- 中小型局域網(wǎng)組建、管理與維護實戰(zhàn)
- 物聯(lián)網(wǎng)之霧:基于霧計算的智能硬件快速反應(yīng)與安全控制
- Unity Artificial Intelligence Programming
- 網(wǎng)絡(luò)環(huán)境中基于用戶視角的信息質(zhì)量評價研究
- 語音信號處理及Blackfin DSP實現(xiàn)
- 網(wǎng)管第一課:網(wǎng)絡(luò)操作系統(tǒng)與配置管理
- 物聯(lián)網(wǎng)工程概論
- 網(wǎng)絡(luò)空間全球治理觀察
- 基于IPv6的家居物聯(lián)網(wǎng)開發(fā)與應(yīng)用技術(shù)
- 深入理解計算機網(wǎng)絡(luò)
- Building Microservices with Spring