/ComponentInspector

Java Desktop (JavaFX and Swing) Component Inspector on mouse over

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

Java Desktop (JavaFX and Swing) Component Inspector

A Tool for help you to inspect the location and properties of certain components in a window hierarchy

License: GPL v3 Build Status Quality Gate Status

JavaFX Component Inspector

FXInspector

Swing Component Inspector

FXInspector

Swing inside JavaFX

FXInspector

JavaFX inside Swing

FXInspector

Example Demo

Example Demo


Java FX Example

FXComponentInspectorHandler.handleAll();

Swing Example

SwingComponentInspectorHandler.handleAll();

Installation with Maven

The artifacts have been published to maven central

FXComponentInspector

Java 11+

<dependency>
    <groupId>com.tangorabox</groupId>
    <artifactId>component-inspector-fx</artifactId>
    <version>1.0</version>
</dependency>

Java 8

<dependency>
    <groupId>com.tangorabox</groupId>
    <artifactId>component-inspector-fx</artifactId>
    <version>1.0-java8</version>
</dependency>

SwingComponentInspector

Java 11+

<dependency>
    <groupId>com.tangorabox</groupId>
    <artifactId>component-inspector-swing</artifactId>
    <version>1.0</version>
</dependency>

Java 8

<dependency>
    <groupId>com.tangorabox</groupId>
    <artifactId>component-inspector-swing</artifactId>
    <version>1.0-java8</version>
</dependency>

Features

  • css class name in javafx node components css-class

  • field name of component declaration in parent (when possible) css-class

Usage

The inspector window is only shown if you hold down the CONTROL key when you move the mouse


Contributing

If you want to contribute to upgrade this project with new features or fixing bugs, you're welcome, please make a pull request.


Team

GaRzY
GaRzY
github.com/garzy

Support

Reach out to me at one of the following places!


License

License: GPL v3