- Mastering JavaFX 10
- Sergey Grinev
- 182字
- 2021-06-25 21:21:58
Using the ScenicView tool to study JavaFX scenegraph
ScenicView is a great tool made and supported by one of the JavaFX developers, Jonathan Giles. It can be downloaded from http://fxexperience.com/scenic-view/.
ScenicView benefits from open JavaFX architecture and the SceneGraph paradigm. It allows the traversing SceneGraph of any JavaFX application to run on the same machine and check the properties of every Node.
Working with ScenicView is very simple:
- Run your JavaFX application
- Call java -jar scenicView.jar
ScenicView will automatically find your app and show its structure in a window like the following:

On the left, you can see the scenegraph, and on the right, you can review all properties of the selected node.
Note how the boundsInParent and layoutBounds properties are additionally marked right inside your application:

The next feature is node detection; by clicking Ctrl + Shift + S, ScenicView will detect which node is located at the mouse coordinates, provide a brief description, and select it in the ScenicView on click:

This feature provides immense value while debugging complex JavaFX applications.
- Mastering Machine Learning for Penetration Testing
- 物聯(lián)網(wǎng)安全:理論、實(shí)踐與創(chuàng)新
- 物聯(lián)網(wǎng)網(wǎng)絡(luò)安全及應(yīng)用
- 工業(yè)控制網(wǎng)絡(luò)安全技術(shù)與實(shí)踐
- 異構(gòu)基因共表達(dá)網(wǎng)絡(luò)的分析方法
- 走進(jìn)物聯(lián)網(wǎng)
- 新一代物聯(lián)網(wǎng)架構(gòu)技術(shù):分層算力網(wǎng)絡(luò)
- HTML5 Game development with ImpactJS
- 物聯(lián)網(wǎng)時(shí)代
- VMware NSX網(wǎng)絡(luò)虛擬化入門
- 物聯(lián)網(wǎng)頂層設(shè)計(jì)與關(guān)鍵技術(shù)
- Learning Node.js Development
- 5G技術(shù)核心與增強(qiáng):從R15到R17
- Web用戶查詢?nèi)罩就诰蚺c應(yīng)用
- Microservices Development Cookbook