This sub-project provides some additional components and classes:
- FlatSVGIcon:
An icon that displays SVG using JSVG.
- FlatTriStateCheckBox:
A tri-state check box.
- Extension classes of standard Swing components that provide easy access to FlatLaf specific client properties (see package com.formdev.flatlaf.extras.components).
- FlatAnimatedLafChange: Animated Laf (theme) changing.
- FlatInspector: A simple UI inspector that shows information about UI component at mouse location in a tooltip.
- FlatUIDefaultsInspector: A simple UI defaults inspector that shows a window with all UI defaults used in current theme (look and feel).
FlatLaf Extras binaries are available on Maven Central.
If you use Maven or Gradle, add a dependency with following coordinates to your build script:
groupId: com.formdev
artifactId: flatlaf-extras
version: (see button below)
Otherwise, download flatlaf-extras-<version>.jar
here:
If SVG classes are used, jsvg-<version>.jar
is also required:
A simple UI inspector that shows information about UI component at mouse location in a tooltip, which may be useful while developing an application. Should not be installed in released applications.
Once installed with following code (e.g. in method main
), it can be activated
for the active window with the given keystroke:
FlatInspector.install( "ctrl shift alt X" );
When the UI inspector is active some additional keys are available:
- press Esc key to disable UI inspector
- press Ctrl key to increase inspection level, which shows information about parent of UI component at mouse location
- press Shift key to decrease inspection level
A simple UI defaults inspector that shows a window with all UI defaults used in current theme (look and feel), which may be useful while developing an application. Should be not installed in released applications.
Once installed with following code (e.g. in method main
), it can be activated
with the given keystroke:
FlatUIDefaultsInspector.install( "ctrl shift alt Y" );