docs: AbstractButton:setContentAreaFilled Sets the contentAreaFilled property. If true the button will paint the content area. If you wish to have a transparent button, such as an icon only button, for example, then you should set this to false. Do not call setOpaque(false). The default value for the the contentAreaFilled property is true. This function may cause the component's opaque property to change. The exact behavior of calling this function varies on a component-by-component and L&F-by-L&F basis. Parameters: b - if true, the content should be filled; if false the content area is not filled
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.
IntelliJ Platform Themes
FlatLaf can use 3rd party themes created for IntelliJ Platform:
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: 0.25.1
Otherwise download flatlaf-<version>.jar here:
Addons
Documentation
For more information and documentation visit FlatLaf Home



