Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/TangoraBox/ComponentInspector
Java Desktop (JavaFX and Swing) Component Inspector on mouse over
https://github.com/TangoraBox/ComponentInspector
component component-inspector desktop inspector java javafx node swing
Last synced: 3 months ago
JSON representation
Java Desktop (JavaFX and Swing) Component Inspector on mouse over
- Host: GitHub
- URL: https://github.com/TangoraBox/ComponentInspector
- Owner: TangoraBox
- License: lgpl-3.0
- Created: 2020-06-02T05:51:58.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-08T14:17:05.000Z (over 2 years ago)
- Last Synced: 2024-02-13T10:02:01.189Z (about 1 year ago)
- Topics: component, component-inspector, desktop, inspector, java, javafx, node, swing
- Language: Java
- Homepage:
- Size: 7.96 MB
- Stars: 23
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- AwesomeJavaFX - Component-Inspector - A tool to help you inspect the location and properties of certain components in a window hierarchy. (Libraries, Tools and Projects)
- aboutfx - Component-Inspector - tools` | A tool to help to inspect the location and properties of a component in a window hierarchy | (Community / Tools)
README
# Java Desktop (JavaFX and Swing) Component Inspector
> A Tool for help you to inspect the location and some properties (see features section) of the component under mouse, in a window hierarchy
[](https://opensource.org/licenses/LGPL-3.0)
[](https://travis-ci.com/TangoraBox/ComponentInspector)
[](https://sonarcloud.io/dashboard?id=com.tangorabox%3Acomponent-inspector)## Features
- CSS class name in javafx node components []()
- Field name of component declaration in parent (when possible) []()
- The inspected component is highlighted _(since v1.1.0)_
---## Usage
> The inspector window is only shown if you hold down the CONTROL key when you move the mouse
---
## Example Demo

## ScreenShots
***JavaFX Component Inspector***
[]()
***Swing Component Inspector***
[]()
***Swing inside JavaFX***
[]()
***JavaFX inside Swing***
[]()
---
## How to use
Simple, one line of code to handle all:
***Java FX Example***
Add this line in the `public void start(Stage primaryStage)` of your main JavaFX class that extends `Application`:
```java
FXComponentInspectorHandler.handleAll();
```***Swing Example***
Add this line in the `public static void main(String[] args)` of your application launch class:
```java
SwingComponentInspectorHandler.handleAll();
```---
## Library import with Maven
The artifacts have been published to maven central:
### FXComponentInspector
***Java 11+***
```xml
com.tangorabox
component-inspector-fx
1.1.0```
***Java 8***
```xml
com.tangorabox
component-inspector-fx
1.1.0-java8```
---
### SwingComponentInspector
***Java 11+***
```xml
com.tangorabox
component-inspector-swing
1.1.0```
***Java 8***
```xml
com.tangorabox
component-inspector-swing
1.1.0-java8```
---
## 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** |
| :---:
| [](https://github.com/garzy)
| `github.com/garzy` |---
## Support
Reach out to me at one of the following places!
- Mail to [[email protected]](mailto:[email protected])
---
## License
[](https://opensource.org/licenses/LGPL-3.0)