Karl Tauber 3474129812 Tree:
- paint non-wide selection in FlatTreeUI.paintRow() instead of using reflection to change private field in DefaultTreeCellRenderer
- use DefaultTreeCellRenderer.getBackgroundSelectionColor() as selection color (if possible)
- added boolean client property JTree.paintSelection to disable selection painting in FlatTreeUI.paintRow()
- FlatComponents2Test:
  - added checkboxes for wideSelection and paintSelection client properties
  - added possibility to test various kinds of tree cell renderers
  - added JXTree, JIDE CheckBoxTree

(PR #245)
2021-01-21 17:38:20 +01:00
2021-01-21 17:38:20 +01:00
2021-01-21 17:38:20 +01:00
2021-01-21 17:38:20 +01:00
2020-09-23 18:42:12 +02:00
2019-08-19 14:07:09 +02:00
2021-01-18 23:34:37 +01:00
2021-01-18 23:34:37 +01:00
2020-09-23 18:42:12 +02:00
2020-09-23 18:42:12 +02:00
2019-08-19 12:27:06 +02:00

FlatLaf - Flat Look and Feel

FlatLaf is a modern open-source cross-platform Look and Feel for Java Swing desktop applications.

It looks almost flat (no shadows or gradients), clean, simple and elegant. FlatLaf comes with Light, Dark, IntelliJ and Darcula themes, scales on HiDPI displays and runs on Java 8 or newer.

The look is heavily inspired by Darcula and IntelliJ themes from IntelliJ IDEA 2019.2+ and uses almost the same colors and icons.

Flat Light

Flat Dark

IntelliJ Platform Themes

FlatLaf can use 3rd party themes created for IntelliJ Platform (see IntelliJ Themes Pack):

IntelliJ Platform Themes

Demo

Download Demo

Run demo with java -jar flatlaf-demo-<version>.jar (or double-click it). Requires Java 8 or newer.

Download

FlatLaf binaries are available on JCenter and Maven Central.

If you use Maven or Gradle, add a dependency with following coordinates to your build script:

groupId:     com.formdev
artifactId:  flatlaf
version:     (see button below)

Otherwise download flatlaf-<version>.jar here:

Download

Snapshots

FlatLaf snapshot binaries are available in JFrog Artifactory. To access the latest snapshot, change the FlatLaf version(s) in the dependencies to <version>-SNAPSHOT (e.g. 0.27-SNAPSHOT) and add the repository https://oss.jfrog.org/artifactory/oss-snapshot-local to your build (see Maven and Gradle docs).

Addons

Documentation

For more information and documentation visit FlatLaf Home

Buzz

Projects using FlatLaf

Description
Languages
Java 96.9%
C++ 2%
Objective-C++ 0.9%
Objective-C 0.1%