Karl Tauber db66a6c4f0 Unit tests: re-enable testing scaled UI
avoid using UI_SCALE_ENABLED = false because if this test is executed first, class UIScale does not register listeners to UIManager, which prevents updating user scale factor on font changes and testing scaled UI fails
2022-01-03 16:52:43 +01:00
2021-02-06 11:35:35 +01:00
2021-06-01 16:21:58 +02:00
2021-12-18 14:09:39 +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
2021-11-12 17:28:04 +01: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 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:

Maven Central

Snapshots

FlatLaf snapshot binaries are available on Sonatype OSSRH. To access the latest snapshot, change the FlatLaf version in your dependencies to <version>-SNAPSHOT (e.g. 0.27-SNAPSHOT) and add the repository https://oss.sonatype.org/content/repositories/snapshots/ to your build (see Maven and Gradle docs).

Addons

Getting started

To use FlatLaf, add following code to your main method before you create any Swing component:

FlatLightLaf.setup();

// create UI here...

Documentation

For more information and documentation visit FlatLaf Home:

Buzz

Applications using FlatLaf

Description
FlatLaf - Swing Look and Feel (with Darcula/IntelliJ themes support)
Readme Apache-2.0 23 MiB
Languages
Java 96.9%
C++ 2%
Objective-C++ 0.9%
Objective-C 0.1%