Skip to content

Commit d16363e

Browse files
committed
Merge branch 'main' of https://github.com/JFormDesigner/FlatLaf.git into smoothscroll
2 parents 6bb3878 + c953ff8 commit d16363e

File tree

162 files changed

+3023
-32652
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

162 files changed

+3023
-32652
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626
- 17 # LTS
2727
- 19
2828
toolchain: [""]
29-
# include:
30-
# - java: 17
31-
# toolchain: 19 # latest
29+
include:
30+
- java: 17
31+
toolchain: 20 # latest
3232

3333
steps:
3434
- uses: actions/checkout@v3
@@ -40,7 +40,7 @@ jobs:
4040
uses: actions/setup-java@v3
4141
with:
4242
java-version: ${{ matrix.java }}
43-
distribution: adopt # Java 8 and 11 are pre-installed on ubuntu-latest
43+
distribution: temurin # Java 8, 11 and 17 are pre-installed on ubuntu-latest
4444
cache: gradle
4545

4646
- name: Check with Error Prone
@@ -77,11 +77,11 @@ jobs:
7777
uses: actions/setup-java@v3
7878
with:
7979
java-version: 11
80-
distribution: adopt # pre-installed on ubuntu-latest
80+
distribution: temurin # pre-installed on ubuntu-latest
8181
cache: gradle
8282

8383
- name: Publish snapshot to oss.sonatype.org
84-
run: ./gradlew publish :flatlaf-theme-editor:build -PskipFonts -Dorg.gradle.internal.publish.checksums.insecure=true
84+
run: ./gradlew publish :flatlaf-theme-editor:build -PskipFonts -Dorg.gradle.internal.publish.checksums.insecure=true -Dorg.gradle.parallel=false
8585
env:
8686
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
8787
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
@@ -113,11 +113,11 @@ jobs:
113113
uses: actions/setup-java@v3
114114
with:
115115
java-version: 11
116-
distribution: adopt # pre-installed on ubuntu-latest
116+
distribution: temurin # pre-installed on ubuntu-latest
117117
cache: gradle
118118

119119
- name: Release a new stable version to Maven Central
120-
run: ./gradlew publish :flatlaf-demo:build :flatlaf-theme-editor:build -PskipFonts -Prelease
120+
run: ./gradlew publish :flatlaf-demo:build :flatlaf-theme-editor:build -PskipFonts -Prelease -Dorg.gradle.parallel=false
121121
env:
122122
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
123123
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}

.github/workflows/fonts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
uses: actions/setup-java@v3
3737
with:
3838
java-version: 11
39-
distribution: adopt # pre-installed on ubuntu-latest
39+
distribution: temurin # pre-installed on ubuntu-latest
4040
cache: gradle
4141

4242
- name: Build with Gradle

.github/workflows/natives.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
uses: actions/setup-java@v3
3434
with:
3535
java-version: 11
36-
distribution: adopt
36+
distribution: temurin
3737
cache: gradle
3838

3939
- name: Build with Gradle

CHANGELOG.md

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,86 @@
11
FlatLaf Change Log
22
==================
33

4+
## 3.2
5+
6+
#### New features and improvements
7+
8+
- TabbedPane: Support rounded underline selection and rounded card tabs. (PR
9+
#703)
10+
- FlatLaf window decorations:
11+
- Support for Windows on ARM 64-bit. (issue #443, PR #707)
12+
- Support toolbox-style "small" window title bar. (issue #659, PR #702)
13+
- Extras: Class `FlatSVGIcon` now uses [JSVG](https://github.com/weisJ/jsvg)
14+
library (instead of svgSalamander) for rendering. JSVG provides improved SVG
15+
rendering and uses less memory compared to svgSalamander. (PR #684)
16+
- ComboBox: Improved location of selected item in popup if list is large and
17+
scrollable.
18+
- FileChooser: Show localized text for all locales supported by Java's Metal
19+
look and feel. (issue #680)
20+
- Added system property `flatlaf.useNativeLibrary` to allow disabling loading of
21+
FlatLaf native library. (issue #674)
22+
- IntelliJ Themes:
23+
- Reduced memory footprint by releasing Json data and ignoring IntelliJ UI
24+
properties that are not used in FlatLaf.
25+
- Updated "Hiberbee Dark" and "Gradianto" themes.
26+
27+
#### Fixed bugs
28+
29+
- Styling: Fixed scaling of some styling properties (`rowHeight` for Table and
30+
Tree; `iconTextGap` for Button, CheckBox and RadioButton). (issue #682)
31+
- Fixed `IllegalComponentStateException` when invoker is not showing in
32+
`SubMenuUsabilityHelper`. (issue #692)
33+
- macOS themes: Changing `@accentColor` variable in FlatLaf properties files did
34+
not change all accent related colors for all components.
35+
- IntelliJ Themes:
36+
- "Light Owl" theme: Fixed wrong (unreadable) text color in selected menu
37+
items, selected text in text components, and selection in ComboBox popup
38+
list. (issue #687)
39+
- "Gradianto Midnight Blue" theme: Fixed color of ScrollBar track, which was
40+
not visible. (issue #686)
41+
- "Monocai" theme: Fixed unreadable text color of default buttons. (issue
42+
#693)
43+
- "Vuesion" theme: Fixed foreground colors of disabled text.
44+
- "Material UI Lite" themes: Fixed non-editable ComboBox button background.
45+
- CheckBox and RadioButton: Fixed unselected icon colors for themes "Atom One
46+
Light", "Cyan Light", "GitHub", "Light Owl", "Material Lighter" and
47+
"Solarized Light".
48+
- TabbedPane: Fixed focused tab background color for themes "Arc *", "Material
49+
Design Dark", "Monocai", "One Dark", "Spacegray" and "Xcode-Dark". (issue
50+
#697)
51+
- TextComponents, ComboBox and Spinner: Fixed background colors of enabled
52+
text components, to distinguish from disabled, for themes "Carbon", "Cobalt
53+
2", "Gradianto *", "Gruvbox *", "Monocai", "Spacegray", "Vuesion",
54+
"Xcode-Dark", "GitHub", and "Light Owl". (issue #528)
55+
- Fixed wrong disabled text colors in "Dark Flat", "Hiberbee Dark", "Light
56+
Flat", "Nord", "Solarized Dark" and "Solarized Light" themes.
57+
- Fixed colors for selection background/foreground, Separator, Slider track
58+
and ProgressBar background in various themes.
59+
- Native Windows libraries: Fixed crash when running in Java 8 and newer Java
60+
version is installed in `PATH` environment variable and using class
61+
`SystemInfo` before AWT initialization. (issue #673)
62+
- ComboBox: Fixed search in item list for text with spaces. (issue #691)
63+
- FormattedTextField: On Linux, fixed `IllegalArgumentException: Invalid
64+
location` if `JFormattedTextField.setDocument()` is invoked in a focus gained
65+
listener on that formatted text field. (issue #698)
66+
- PopupMenu: Make sure that popup menu does not overlap any operating system
67+
task bar. (issue #701)
68+
- FileChooser: Use system icons on Windows with Java 17.0.3 (and later) 32-bit.
69+
Only Java 17 - 17.0.2 32-bit do not use system icons because of a bug in Java
70+
32-bit that crashes the application. (PR #709)
71+
- FileChooser: Fixed crash on Windows with Java 17 to 17.0.2 32-bit. Java 17
72+
64-bit is not affected. (regression since FlatLaf 2.3; PR #522, see also issue
73+
#403)
74+
75+
#### Incompatibilities
76+
77+
- Extras: Class `FlatSVGIcon` now uses [JSVG](https://github.com/weisJ/jsvg)
78+
library for SVG rendering. You need to replace svgSalamander with JSVG in your
79+
build scripts and distribute `jsvg.jar` with your application. Also replace
80+
`com.kitfox.svg` with `com.github.weisj.jsvg` in `module-info.java` files.
81+
- IntelliJ Themes: Removed all "Contrast" themes from "Material UI Lite".
82+
83+
484
## 3.1.1
585

686
- IntelliJ Themes:

0 commit comments

Comments
 (0)