Skip to content

A tool for navigating JavaFX scene graph and exploring node properties

License

Notifications You must be signed in to change notification settings

mkpaz/devtoolsfx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

devtoolsfx

DevToolsFX is a tool for navigating your application's scene graph and exploring node properties. It aims to be similar to Chrome DevTools, but for JavaFX.

It's lightweight, around 250 KB, with no dependencies, allowing you to easily embed it into your app. The only JavaFX dependency is javafx.controls, which your app will need regardless.

inspector

Find more screenshots here.

Getting started

Maven:

<dependency>
    <groupId>io.github.mkpaz</groupId>
    <artifactId>devtoolsfx-gui</artifactId>
    <version>TBD</version>
</dependency>

Gradle:

dependencies {
    implementation 'io.github.mkpaz:devtoolsfx-gui:TBD'
}

After the primary stage is shown, you can launch the dev tools GUI at any time with:

primaryStage.setOnShown(
    e -> GUI.openToolStage(primaryStage, getHostServices())
);

Check the devtoolsfx.gui.GUI class for additional ways to launch the dev tools, such as embedding it at the top or bottom. Also, refer to the demo for a more detailed example.

About

A tool for navigating JavaFX scene graph and exploring node properties

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published