Commit Graph

2237 Commits

Author SHA1 Message Date
Karl Tauber
f23c523baf GitHub Actions: ci.yml: include font JARs in build artifacts 2022-11-17 23:01:56 +01:00
Karl Tauber
76fee29f5b Demo: install Inter font only when used; removed JetBrains Mono 2022-11-17 23:01:17 +01:00
Karl Tauber
ec77746a43 Fonts: support specifying preferred font family for easy using another font (e.g. Inter) for all components 2022-11-17 23:01:03 +01:00
Karl Tauber
92cd6f8f34 Theme Editor:
- use JetBrains Mono font for editor area
- added Inter font to allow using it in preview (Java 11+)
2022-11-17 23:00:07 +01:00
Karl Tauber
e7d2b5cbb6 Fonts: added Inter and JetBrains Mono 2022-11-17 22:59:31 +01:00
Karl Tauber
ccca6fe88e Merge PR #612: macOS themes: make spinner look like macOS stepper 2022-11-16 10:59:10 +01:00
Karl Tauber
a1f18e1ec9 macOS themes: fixed spinner arrow hover/pressed colors (issue #497; PR #533) 2022-11-16 10:51:38 +01:00
Karl Tauber
afdaf7a0a5 Merge PR #609: Tree: hide default closed/opened/leaf icons by default 2022-11-16 10:29:24 +01:00
Karl Tauber
62f0ef19f4 macOS themes: make spinner look like macOS stepper (issue #497; PR #533) 2022-11-15 14:29:47 +01:00
Karl Tauber
b736502c27 Tree: hide default closed/opened/leaf icons by default 2022-11-14 14:59:47 +01:00
Karl Tauber
2be2dae3d6 macOS themes: updated UI defaults dumps (PR #533) 2022-11-14 14:19:49 +01:00
Karl Tauber
aefe104ca4 FlatSVGIcon: no longer use classes from package com.formdev.flatlaf.ui to allow using FlatSVGIcon (and flatlaf-extras.jar) in NetBeans plugin (NetBeans ships with FlatLaf, but does not export that package) 2022-11-14 14:02:27 +01:00
Karl Tauber
3e6bce9cec no longer check for system property apple.awt.graphics.UseQuartz because openjdk seems not support it
not found `apple.awt.graphics.UseQuartz` in:
- https://github.com/openjdk/jdk8u-dev
- https://github.com/openjdk/jdk
2022-11-14 13:48:54 +01:00
Karl Tauber
a6394cac38 minor code cleanup:
- remove redundant semicolon
- create array with curly
2022-11-14 12:25:29 +01:00
Karl Tauber
1e09ddfc93 Merge PR #607: systemColor() function and support changing accent color in macOS themes 2022-11-14 12:05:47 +01:00
Karl Tauber
664f5c98e9 macOS themes: support changing accent and highlight colors (issue #497) 2022-11-02 21:59:45 +01:00
Karl Tauber
c7bfd2ea82 UIDefaultsLoader: added systemColor() color function that can be used to change accent color (preparation for getting accent color from operating system) 2022-11-02 21:59:07 +01:00
Karl Tauber
9ce7ddd088 UIDefaultsLoader: reworked error handling when parsing colors to support null as result (preparation for systemColor() function) 2022-11-02 21:57:57 +01:00
Karl Tauber
cca8d427d2 Merge PR #533: macOS light and dark themes 2022-11-01 12:23:57 +01:00
Karl Tauber
aa9263a2e7 macOS themes: use rounded selection for menus and combo boxes; fixed menus and combo box selection colors (issue #497) 2022-11-01 12:00:11 +01:00
Karl Tauber
5eaebde437 macOS themes: added some ScrollBar UI properties so that themes look the same on Windows or Linux as on macOS (issue #497) 2022-11-01 11:52:36 +01:00
Karl Tauber
7f15f557a5 ComboBox: for style "mac", place popup over combobox (issue #497) 2022-11-01 11:52:36 +01:00
Karl Tauber
b459715cb5 macOS light and dark themes (issue #497) 2022-11-01 11:37:29 +01:00
Karl Tauber
bfede219d0 added DbVisualizer as Platinum sponsor 2022-11-01 10:13:37 +01:00
Karl Tauber
ef21efecf5 Tree:
- Fixed missing tree lines (if enabled) for wide-selected rows. (issue #598)
- Fixed scaling of tree lines and fixed alignment to expand/collapse arrows.
- Removed support for dashed tree lines. `Tree.lineTypeDashed` is now ignored.
2022-11-01 10:12:49 +01:00
Karl Tauber
2bfbc9dc12 Merge PR #577: Rounded outlined icons 2022-10-30 10:39:09 +01:00
Karl Tauber
c3a1b45546 Merge PR #548: ComboBox: support rounded selection 2022-10-30 10:28:48 +01:00
Karl Tauber
b72508f920 Merge PR #547: List: Support rounded selection
# Conflicts:
#	flatlaf-testing/src/main/java/com/formdev/flatlaf/testing/FlatComponents2Test.java
2022-10-30 10:24:16 +01:00
Karl Tauber
22bb80218d Merge PR #546: Tree: rounded selection 2022-10-30 10:16:07 +01:00
Karl Tauber
873a7e8572 Menu: fixed missing background on hover if top-level JMenu is opaque and selectionInsets or selectionArc are set (PR #536) 2022-10-30 10:10:22 +01:00
Karl Tauber
0c5016fe89 Merge PR #536: Menus: rounded selection
# Conflicts:
#	flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatMenuBarUI.java
#	flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatMenuUI.java
#	flatlaf-core/src/main/resources/com/formdev/flatlaf/FlatLaf.properties
#	flatlaf-theme-editor/src/main/resources/com/formdev/flatlaf/themeeditor/FlatLafUIKeys.txt
2022-10-30 09:55:09 +01:00
Karl Tauber
607b084697 Merge PR #534: ToolBar: hover effect for button groups 2022-10-29 19:51:37 +02:00
Karl Tauber
9d8ffec276 Merge PR #605: FlatInspector: add/remove mouse listener in setEnabled 2022-10-29 14:41:24 +02:00
Max Weber
15f08e9b7c FlatInspector: add/remove mouse listener in setEnabled 2022-10-29 05:16:29 -06:00
Karl Tauber
08aa6b1894 added ej-technologies (creator of JProfiler and install4j) as Platinum sponsor 2022-10-28 22:44:02 +02:00
Karl Tauber
06b02c4f7c README.md: new applications using FlatLaf:
- JProfiler
- JFormDesigner
- Fanurio
- Antares
- Logisim-evolution
- Cinecred
- tinyMediaManager
- Weasis
- Makelangelo Software

(changed "New" to "Hot")
2022-10-28 22:22:10 +02:00
Karl Tauber
b56acd271f added Sponsor button 2022-10-26 18:09:28 +02:00
Karl Tauber
b24e2db59e FileChooser: fixed layout of (optional) accessory component and fixed too large right margin (issue #604; regression since implementing PR #522 in FlatLaf 2.3) 2022-10-21 13:12:52 +02:00
Karl Tauber
f215356629 updated sigtest for FlatLaf 2.6
(generated in clean workspace with gradle task `sigtestGenerate`)
2022-10-18 11:26:38 +02:00
Karl Tauber
069a7c809c release 2.6 2.6 2022-10-18 11:11:24 +02:00
Karl Tauber
883b4d735a changed "since 3" to "since 2.6" 2022-10-18 11:08:14 +02:00
Karl Tauber
9f39b269bb CHANGELOG.md: moved PR #595 from "Fixed bugs" to "New features and improvements" 2022-10-17 18:15:19 +02:00
Karl Tauber
36c405c708 fixed NPE in FlatUIUtils.isCellEditor() (issue #601) 2022-10-17 18:09:12 +02:00
Karl Tauber
bc7c68ebe4 MenuBar: fixed NPE in FlatMenuItemRenderer.getTopLevelFont() if menu item does not have a parent (issue #600; regression since implementing #589 in FlatLaf 2.5; commit f6c5db07f2) 2022-10-17 17:08:12 +02:00
Karl Tauber
6c502ad4c5 2.6-SNAPSHOT 2022-10-17 16:31:54 +02:00
Karl Tauber
100aa0b621 Native libraries: load jawt.dll also on Windows when running in Java 9 and later (to be on the safe side) 2022-10-06 10:58:32 +02:00
Karl Tauber
8e42b19934 Native libraries: support loading via System.loadLibrary()
(for pre-extracted native libs in NetBeans)
2022-10-06 10:49:55 +02:00
Karl Tauber
1a456d5d68 ScaledImageIcon: do not throw exceptions if image has invalid size (e.g. not found); instead paint a red rectangle (similar to FlatSVGIcon) 2022-10-01 20:12:32 +02:00
Karl Tauber
e83c26a76a - ScrollBar: show "pressed" feedback on track/thumb only for left mouse button; if absolute positioning is enabled (the default), then also for middle mouse button
- Arrow buttons in ComboBox, Spinner, ScrollBar and TabbedPane: show "pressed" feedback only for left mouse button
2022-09-30 19:55:42 +02:00
Karl Tauber
6e7c2a616b updated CHANGELOG.md for PR #595 and added tab context menu test 2022-09-30 15:33:37 +02:00