Commit Graph

2855 Commits

Author SHA1 Message Date
Karl Tauber
8339a6040e release 3.7.1 3.7.1 2026-03-10 10:20:13 +01:00
Karl Tauber
fd033b533d update to Gradle 9.4.0 2026-03-10 00:06:32 +01:00
Karl Tauber
b7dffeefe6 Merge PR #1079: System file chooser improvements 2026-03-09 23:59:06 +01:00
Karl Tauber
9367555572 System File Chooser: updated Linux native libraries (PR #1079)
built by GitHub Actions:
https://github.com/JFormDesigner/FlatLaf/actions/runs/22869606491
2026-03-09 20:13:51 +01:00
Karl Tauber
fc55ef68c2 SignPath signing
(cherry picked from commit 93408b50df)
2026-03-09 19:52:58 +01:00
Karl Tauber
247fa5edb7 Merge SignPath signing 2026-03-09 19:49:32 +01:00
Karl Tauber
93408b50df SignPath signing 2026-02-10 17:41:53 +01:00
Karl Tauber
84e95764fa macOS: hide popups when window is resized (issue #1082) 2026-01-30 19:01:26 +01:00
Karl Tauber
1a80a65411 Merge PR #1087: Fix exception when SVG icon name has no file extension 2026-01-30 13:17:56 +01:00
Karl Tauber
bf2227e1b8 Dialog: some client properties (e.g. JRootPane.titleBarShowTitle) did not work before the dialog was made visible (issue #1081) 2026-01-30 12:58:17 +01:00
poce1don
7fc26fe77e Fix exception when SVG icon name has no file extension 2026-01-24 20:44:50 -03:00
Karl Tauber
465254c0da FlatDesktop: avoid unnecessary logging if desktop is not supported (e.g. on NixOS with Plasma/KDE desktop) 2026-01-14 13:21:52 +01:00
Karl Tauber
aaca7cace1 README.md: added notes regarding uber/fat JARs and obfuscation/minimizing/shrinking tools (replaces PR #845) 2026-01-14 13:09:40 +01:00
Karl Tauber
c995b4cbdf Merge PR #1074: Recalculate geometry after styling in FlatSliderUI 2026-01-13 20:03:54 +01:00
Karl Tauber
b251ff76e8 Merge PR #1080: Fix NPE in FlatUIDefaultsInspector when color is null 2026-01-13 19:31:56 +01:00
Karl Tauber
a30105c9ae System File Chooser: added PatternFilter to support glob file filter on Windows and on Linux, but not on macOS (issue #1076) 2026-01-13 17:28:37 +01:00
Karl Tauber
ea2a985481 ToolBar: do not change floatable if it was changed from application code (issue #1075) 2026-01-13 12:35:49 +01:00
poce1don
3ca7ebbfee Fix NPE in FlatUIDefaultsInspector when color is null 2026-01-13 00:44:13 -03:00
Karl Tauber
d0b01e4937 System File Chooser: Fixed: system and Swing file dialogs were shown at the same time if application has no other displayable window (issue #1078)
also require that `SystemFileChooser.show*Dialog()` methods are invoked on AWT thread
2026-01-11 17:40:47 +01:00
Karl Tauber
82759c2472 System File Chooser on Linux: check whether required GSettings schemas are installed to avoid application crash (issue #1069)
occurred on NixOS with Plasma (KDE) desktop
2026-01-11 16:38:25 +01:00
Karl Tauber
edda52048c System File Chooser: update current filter before invoking approve callback and after closing dialog (issue #1065) 2026-01-06 14:00:58 +01:00
daWoife
7e6dc269c5 Recalculate geometry after styling in FlatSliderUI 2025-12-31 11:28:41 +01:00
Karl Tauber
7680c3a817 ComboBox: added UI property ComboBox.buttonFocusedEditableBackground (issue #1068) 2025-12-30 17:36:06 +01:00
Karl Tauber
0e3cb95791 Popup: fixed scrolling popup painting issue on Windows 10 when a glass pane is visible and frame is maximized (issue #1071) 2025-12-30 13:36:09 +01:00
Karl Tauber
3f0b5d5a0e release 3.7 3.7 2025-12-04 12:13:56 +01:00
Karl Tauber
6e3633cca3 System File Chooser: save and restore size of (fallback) JFileChooser dialog (PR #988) 2025-12-04 11:36:02 +01:00
Karl Tauber
4f1e5cdb05 IntelliJ Themes: do not release JSON memory to allow re-using theme instance (issue #1020) 2025-12-03 19:13:07 +01:00
Karl Tauber
070cf9c40d Icons: scale checkbox and radiobutton icons when using text styles large, medium, small and mini (issue #1061)
https://www.formdev.com/flatlaf/typography/#text_styles

Theme Editor: added to preview
2025-12-03 14:19:47 +01:00
Karl Tauber
5b0f13110a Icons: support scaling Laf icons (checkbox, radiobutton, etc) (issue #1061) 2025-12-03 11:41:39 +01:00
Karl Tauber
d7a5c353fe System File Chooser: updated Linux native libraries (PR #988)
built by GitHub Actions:
https://github.com/JFormDesigner/FlatLaf/actions/runs/19859966311
2025-12-02 18:19:45 +01:00
Karl Tauber
9e8b8697d1 System File Chooser: Linux: show file dialog in dark if current FlatLaf theme is dark (PR #988) 2025-12-02 14:11:10 +01:00
Karl Tauber
58e073a05b System File Chooser: on Linux when JavaFX is used in application, then always use Swing file chooser because system file dialog does work (PR #988)
with Java 8, some GLib related messages are logged to console and system file dialog is not shown
e.g.: `GLib-GObject-WARNING **: cannot register existing type 'GdkDisplayManager'`

with Java 17, the system file dialog is shown, but then JavaFX no longer works
with Java 21, the application quits/crashes immediately when trying to show system file dialog

also fixed Error Prone warning in `getFiltersForDialog()`
2025-12-01 20:10:06 +01:00
Karl Tauber
1c6e8774cf System File Chooser: (PR #988)
- fixed missing filter in combobox if only `setFileFilter(myFilter)` is used, but not `addChoosableFileFilter(myFilter)`
- fallback Swing file chooser did ignore `isAcceptAllFileFilterUsed()`
- check for supported filter types in `setFileFilter()`
2025-11-30 19:16:51 +01:00
Karl Tauber
1e724029ae Merge PR #987: Enhance FlatUIUtils.getBorderArc to support FlatLineBorder Arc value 2025-11-30 00:44:22 +01:00
Karl Tauber
9fdaa827b5 Merge PR #1030: TabbedPaneUI: When the mouse wheel event is not in the viewport, propagate the event to the nearest parent 2025-11-29 23:25:50 +01:00
Karl Tauber
b9441050b2 TabbedPane:
- convert mouse wheel event before dispatching it to parent
- use `Component.dispatchEvent()`, instead of invoking mouse wheel listeners directly, which dispatches the event to an ancestor
2025-11-29 23:12:21 +01:00
Karl Tauber
8239cdd540 fixed errors reported by Error Prone in commit 855c41bf4a 2025-11-29 18:47:06 +01:00
Karl Tauber
08419d6135 TabbedPane:
- added icon-only tab mode, which shows tab icons but hides tab titles
- in "Show Hidden Tabs" popup menu, do not show text "x. Tab" if tab has icon but no title (issue #1062)
2025-11-29 18:11:31 +01:00
Karl Tauber
3a72232ae3 UI defaults dumps updated for commit 4945378dd3 2025-11-29 14:35:38 +01:00
Karl Tauber
e61499e7c6 use AtomicReference for method parameters that return values 2025-11-29 14:31:05 +01:00
Karl Tauber
d3e6c7af14 Styling: TestFlatStyleableValue: use random values for boolean, integer, float, color, insets and dimension to better test whether set and get style work correctly 2025-11-28 00:43:37 +01:00
Karl Tauber
ff11a11d28 Styling: TestFlatStyling: removed component, border and icon tests because they are also tested in TestFlatStyleableValue 2025-11-27 23:42:26 +01:00
Karl Tauber
855c41bf4a Styling: TestFlatStyleableValue:
- check whether all keys (returned by `getStyleableInfos()`) are tested
- added tests for missing keys
- cache `ui.applyStyle(...)` methods
2025-11-27 23:00:29 +01:00
Karl Tauber
2b587d4dba Styling: added missing unit tests 2025-11-27 15:53:25 +01:00
Karl Tauber
5fabfc7051 Styling: dump FlatLaf styleable infos to flatlaf-testing/dumps/styleable-infos.txt 2025-11-27 15:21:03 +01:00
Karl Tauber
db4173dd06 Styling: introduced interface StyleableObject
- has default implementations that use annotations
- replaces `StyleableBorder`
- used for styleable icons
2025-11-26 11:09:43 +01:00
Karl Tauber
03b7a1c29e Styling: added missing unit tests; added missing FlatCapsLockIcon.getStyleableInfos() 2025-11-25 18:51:40 +01:00
Karl Tauber
60968f77eb Styling: replaced all occurrences of
`return new UnknownStyleException( key )`
with
  `throw new UnknownStyleException( key )`
2025-11-25 18:48:15 +01:00
Karl Tauber
8bafa37b4a Merge PR #1060: Styling of wrong icon in FlatRadioButtonUI 2025-11-25 18:24:06 +01:00
Karl Tauber
04602ac227 CheckBox and RadioButton:
- fixed styling of custom icon
- fixed focus width (and preferred size) if using custom icon
- added unit tests
2025-11-25 18:18:22 +01:00