Questions tagged [flatlaf]
12 questions
2
votes
1 answer
JButtons in JTable cell change shape on row selection
I have a single cell (column) per row based table and the cell is a panel with 2 buttons on it. TableCellRenderer and TableCellEditor are implemented correctly to allow render and edit the cell. But when i click the row or even the button, the shape…

Nazgul
- 1,892
- 1
- 11
- 15
1
vote
1 answer
Change accent color of component while using FlatLaf
I am using FlatLaf L&F for my Java Swing project and I am wondering how can I change the accent color of components. For example, I know that I can make buttons round using the code below:
button.putClientProperty( "JButton.buttonType", "roundRect"…

Amir
- 83
- 11
1
vote
1 answer
Get value for a FlatLaf theme
I have a little problem getting certain values contained in the themes of flatlaf, I'll give you an example, the value of "@accentBase2Color" return null and i don't understand why because the theme contain this key (sry for my bad…

Baptiste Martin
- 13
- 2
1
vote
2 answers
Setting the Color of the Title Bar with Netbeans Platform Application (FlatLaF)
I'm currently working on a Netbeans Platform application that uses com.formdev.flatlaf.FlatLightLaf as the Look and Feel. The application is using Java 11 and running under Windows 10.
I would now like to change the color of the TitlePane. Changing…

Daki
- 97
- 9
0
votes
0 answers
Swing Flatlaf customized properties file
I have integrated the flatlaf look and feel library into my Swing application via Maven, specifically utilizing version 1.6.2 of FlatLaf.
Within my application, I've employed the existing theme named "flatlaflight.setup()". However, prior to this…

Kumar
- 1
- 3
0
votes
1 answer
How do I import the flatlaf library to my project using intellij?
When compiling my main class I get this error:
Main.java:1: error: package com.formdev.flatlaf does not exist
import com.formdev.flatlaf.FlatLightLaf;
I have followed all the steps online, I have gone to project structure, libraries, "+", added the…

Fabrizio Liani
- 1
- 2
0
votes
0 answers
How to display images from an URL with FlatLaf in Java Swing?
I have a Java Swing App, And I'm using an API, that API has all of the countries, their names and images. The images are in .SVG format. So I'm using FlatLaf libraries to show SVG images. I created a class named SVGImage.java and it is for adding an…
user17121955
0
votes
1 answer
How to change one object's color while useing Flatlaf
This will change all the JRadioButton's checkmark color.
UIManager.put( "CheckBox.icon.checkmarkColor", Color.red );
LookAndFeel lookAndFeel = UIManager.getLookAndFeel();
try {
UIManager.setLookAndFeel( lookAndFeel );
} catch…

Alpha
- 1
- 1
0
votes
0 answers
Font Family with FlatLaf for a Java Swing application
I'm trying to change the Font Family with FlatLaf for a Java Swing application.
It would be cool to find a way to change it in the customized theme files (mytheme.properties) for FlatLaf. I saw on the FlatLaf docs that its possible to specify font…

Liso
- 195
- 5
- 15
0
votes
1 answer
Is it possible to import “FlatLaf - Flat Look and Feel” into Katalon Studio?
Is it possible to import "FlatLaf - Flat Look and Feel" into a test case of Katalon Studio?

Simos Sigma
- 958
- 7
- 29
0
votes
1 answer
Replacement LayoutManager for JXStatusBar Constraints or way to use with JPanel
I am using swingx library, on Windows I am now moving towards using the Flatlaf light and dark look and feel on all platforms
This looks fine on MacOS, but on Windows the status bar looks like it did with Windows look and feel and doesn't look…

Paul Taylor
- 13,411
- 42
- 184
- 351
0
votes
1 answer
How to remove border corners in JButton?
I have a JButton with FlatLaf GUI.
FlatLaf allow me set client properties to some components, in this case I use 'JButton.buttonType' property
Example:
JButton myButton = new…

Angel Ponce
- 105
- 6