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.
macOS Themes
IntelliJ Platform Themes
FlatLaf can use 3rd party themes created for IntelliJ Platform (see IntelliJ Themes Pack):
Sponsors
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:
See also Native Libraries distribution for instructions on how to redistribute FlatLaf native libraries with your application.
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
- IntelliJ Themes Pack - bundles many popular open-source 3rd party themes
- Extras - SVG icon, tri-state check box, UI inspectors, and more
- SwingX - support for SwingX components
- JIDE Common Layer - support for JIDE Common Layer components
- Fonts - some font families bundled in easy-to-use and redistributable JARs
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:
- Themes
- Customizing
- How to Customize
- Properties Files
- Components UI Properties
- Typography
- Client Properties
- System Properties
Theme Editor
The Theme Editor that supports editing FlatLaf theme properties files. See Theme Editor documentation for details and downloads.
Buzz
- What others say about FlatLaf on Twitter
- FlatLaf 1.0 announcement on Reddit
- FlatLaf announcement on Reddit
Applications using FlatLaf
- Spark - cross-platform IM client optimized for businesses and organizations.
- Kafka Visualizer Kafka GUI client
- JProfiler 12 (commercial) - the award-winning all-in-one Java profiler
- JFormDesigner 8 (commercial) - Java/Swing GUI Designer
- Jeyla Studio - Salon Software
- Fanurio 3.3.2 (commercial) - time tracking and billing for freelancers and teams
- Antares - a free, powerful platform for designing, simulating and explaining digital circuits
- Logisim-evolution 3.6 - Digital logic design tool and simulator
- Cinecred - create beautiful film credit sequences
- tinyMediaManager v4 (commercial) - a media management tool
- Weasis - medical DICOM viewer used in healthcare by hospitals, health networks, etc
- Makelangelo Software 7.3.0 - for plotters, especially the wall-hanging polargraph
- Ultorg (commercial) - a visual query system for relational databases
- MooInfo - visual implementation of OSHI, to view information about the system and hardware
- Jailer 11.2 - database subsetting and relational data browsing tool
- Apache NetBeans 11.3 - IDE for Java, PHP, HTML and much more
- jclasslib bytecode viewer 5.5
- KeyStore Explorer 5.4.3
- install4j 9.0 (commercial) - the powerful multi-platform Java installer builder
- DbVisualizer 12.0 (commercial) - the universal database tool for developers, analysts and DBAs
- MagicPlot 3.0 (commercial) - Software for nonlinear fitting, plotting and data analysis
- Thermo-Calc 2021a (commercial) - Thermodynamics and Properties Software
- OWASP ZAP 2.10 - the worlds most widely used web app scanner
- Burp Suite Professional and Community Edition 2020.11.2 (commercial) - the leading software for web security testing
- BurpCustomizer - adds more FlatLaf themes to Burp Suite
- JOSM - an extensible editor for OpenStreetMap (requires FlatLaf JOSM plugin)
- jAlbum 21 (commercial) - creates photo album websites
- PDF Studio 2021 (commercial) - create, review and edit PDF documents
- XMLmind XML Editor 9.3 (commercial)
- Total Validator 15 (commercial) - checks your website
- j-lawyer - Kanzleisoftware
- MegaMek, MegaMekLab and MekHQ v0.47.5+ - a sci-fi tabletop BattleTech simulator suite handling battles, unit building, and campaigns
- GUIslice Builder 0.13.b024 - GUI builder for GUIslice, a lightweight GUI framework for embedded displays
- Rest Suite - Rest API testing
- ControllerBuddy - advanced gamepad mapping software
- SpringRemote - remote Linux SSH connections manager
- jEnTunnel - manage SSH Tunnels made easy
- mendelson AS2, AS4 and OFTP2 (open-source) and mendelson AS2, AS4 and OFTP2 (commercial)
- IGMAS+ - Interactive Gravity and Magnetic Application System
- MeteoInfo 2.2 - GIS and scientific computation environment for meteorological community
- lsfusion platform 4 - information systems development platform
- JPass - password manager with strong encryption
- Jes - Die Java-EÃœR
- Mapton 2.0 (source code) - some kind of map application (based on NetBeans platform)
- Pseudo Assembler IDE - IDE for Pseudo-Assembler
- Linotte 3.1 - French programming language created to learn programming
- MEKA 1.9.3 - multi-label classifiers and evaluation procedures using the Weka machine learning framework
- Shutter Encoder 14.2 (source code) - professional video converter and compression tool (screenshots show old look)
- Sound Analysis - analyze sound files in time or frequency domain
- RemoteLight - multifunctional LED control software
- ThunderFocus - Arduino-based telescope focuser
- Novel-Grabber - download novels from any webnovel and lightnovel site
- lectureStudio 4.3.1060 - digitize your lectures with ease
- Android Tool - makes popular adb and fastboot commands easier to use
- and more...