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
a6394cac38
minor code cleanup:
...
- remove redundant semicolon
- create array with curly
2022-11-14 12:25:29 +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
607b084697
Merge PR #534 : ToolBar: hover effect for button groups
2022-10-29 19:51:37 +02:00
Max Weber
15f08e9b7c
FlatInspector: add/remove mouse listener in setEnabled
2022-10-29 05:16:29 -06:00
Karl Tauber
ca88023560
GitHub Actions: build using Java 19 (use toolchain because Gradle 7.5.1 does not support running on Java 19)
2022-09-28 19:15:59 +02:00
Karl Tauber
a372da22f3
Extras: FlatInspector:
...
- support embedding into SWT
- added "MigLayout visual padding" to tooltip
fixed typo in MigLayoutVisualPadding.java
2022-07-04 11:09:06 +02:00
Karl Tauber
2ef6a2c3c9
ToolBar: add hover effect to button groups
2022-05-14 13:59:47 +02:00
Karl Tauber
02cf6050a1
updates for PR #530 :
...
- added @since tags
- changed `FlatToggleButton.setTabUnderlinePlacement()` implementation so that is behaves similar to `FlatTabbedPane.setTabIconPlacement()`
2022-05-09 22:28:34 +02:00
Julien Fischer
bcb2e1f0a1
ToggleButton: made underline placement configurable
...
Supported values: TOP, LEFT, BOTTOM, or RIGHT
2022-05-06 12:07:50 +02:00
Karl Tauber
0bd677c46b
FlatSVGIcon: changed logging when icon resource is not found from "severe" to "config" (issue #476 )
2022-02-25 16:55:04 +01:00
Karl Tauber
97bed8554a
FlatSVGIcon: added copy constructor (issue #465 )
2022-01-25 00:47:35 +01:00
Karl Tauber
6d705e568a
Extras: FlatInspector: fixed "NOT SET" for component foreground
2022-01-09 19:40:17 +01:00
Karl Tauber
8c891c7016
UIDefaultsDump: output base color used for resolving derived color
2022-01-03 18:46:56 +01:00
Karl Tauber
0cdfd29ecf
Extras: fixed concurrent loading of SVG icons on multiple threads (issue #459 )
2021-12-30 11:24:48 +01:00
Karl Tauber
45332c8126
TextField: added "clear" button to theme editor find/replace and to UI defaults inspector
2021-12-14 10:42:07 +01:00
Karl Tauber
a4377e81cb
TextField: support "clear" (or "cancel") button to empty text field
2021-12-13 22:10:21 +01:00
Karl Tauber
51be7ad832
TextField: require JComponent for leading and trailing components (to allow setting a style class client property)
2021-12-12 00:50:56 +01:00
Karl Tauber
f93d035e4e
TextField: support leading and trailing components
2021-12-11 14:29:56 +01:00
Karl Tauber
37b35f9063
updated svgSalamander to version 1.1.3
2021-12-07 14:34:39 +01:00
Karl Tauber
13a6b92e47
Merge PR #429 : Window title bar improvements (Windows 10/11 only)
2021-11-19 18:01:34 +01:00
Karl Tauber
9ba008002b
Merge PR #396 : Typography
2021-11-19 14:57:36 +01:00
Karl Tauber
31754eba5d
Merge PR #343 : New tabbed pane active tab border painting style
2021-11-18 17:27:23 +01:00
Karl Tauber
3cfa16b8b7
TabbedPane: completed review of PR #343 (active tab border painting style)
...
- replaced `activeTabBorder` with `tabType`
- added `TabbedPane.cardTabSelectionHeight`
2021-11-18 16:47:21 +01:00
Karl Tauber
d6b9e2df62
RootPane: give the root pane useful background, foreground and font
...
(fixes wrong background in title bar and menu bar when switching from Nimbus to FlatLaf)
2021-11-15 16:58:44 +01:00
Karl Tauber
b40532a830
UI defaults inspector: fixed color value renderer for some 3rd party Lafs
2021-11-15 00:59:13 +01:00
Karl Tauber
a2d66e91ff
Extras: FlatSVGIcon and FlatSVGUtils: use soft cache for SVG diagrams to allow freeing memory if no longer used
2021-11-12 10:49:02 +01:00
Karl Tauber
d80b581ace
Extras: FlatSVGUtils: support loading SVG from URL (for JPMS) (issue #325 )
2021-11-12 09:28:24 +01:00
Karl Tauber
53efb6711d
Extras: FlatSVGIcon: support loading SVG from URL (for JPMS), URI, File or InputStream (issues #419 and #325 )
...
also improved error handling and javadoc
2021-11-12 09:27:04 +01:00
Karl Tauber
c8ea61dc79
Merge PR #414 : CheckBox and RadioButton improvements
2021-11-04 00:08:07 +01:00
Karl Tauber
475781db91
Extras: FlatDesktop: fixed javadoc issues
2021-11-03 15:22:41 +01:00
Karl Tauber
1d39d34d7c
CheckBox and RadioButton:
...
- added `CheckBox.icon.hoverCheckmarkColor`
- added `CheckBox.icon.selectedHoverBorderColor`
- added `CheckBox.icon.pressedBorderColor`
- added `CheckBox.icon.selectedPressedBorderColor`
- added `CheckBox.icon.pressedCheckmarkColor`
- renamed `CheckBox.icon.selectedFocusedBorderColor` to `CheckBox.icon.focusedSelectedBorderColor`
- renamed `CheckBox.icon.selectedFocusedBackground` to `CheckBox.icon.focusedSelectedBackground`
- renamed `CheckBox.icon.selectedFocusedCheckmarkColor` to `CheckBox.icon.focusedCheckmarkColor`
- renamed `CheckBox.icon.selectedHoverBackground` to `CheckBox.icon.hoverSelectedBackground`
- renamed `CheckBox.icon.selectedPressedBackground` to `CheckBox.icon.pressedSelectedBackground`
- renamed `CheckBox.icon[filled].selectedFocusedBorderColor` to `CheckBox.icon[filled].focusedSelectedBorderColor`
- renamed `CheckBox.icon[filled].selectedFocusedBackground` to `CheckBox.icon[filled].focusedSelectedBackground`
- renamed `CheckBox.icon[filled].selectedFocusedCheckmarkColor` to `CheckBox.icon[filled].focusedCheckmarkColor`
- renamed `CheckBox.icon[filled].selectedHoverBackground` to `CheckBox.icon[filled].hoverSelectedBackground`
- renamed `CheckBox.icon[filled].selectedPressedBackground` to `CheckBox.icon[filled].pressedSelectedBackground`
(Note: this are incompatible changes!)
2021-10-31 17:39:48 +01:00
Karl Tauber
ef25575f85
ignore internal UI keys in dumps and in UI defaults inspector
2021-10-28 20:47:47 +02:00
Karl Tauber
cc238d3e34
Extras: added class FlatDesktop for easy integration into macOS screen menu (About, Preferences and Quit) when using Java 8
...
Demo:
- use class `FlatDesktop`
- hide "File > Exit" and "Help > About" on macOS
2021-10-24 09:44:34 +02:00
Karl Tauber
d8a0a015e4
Typography: Extras: add labelType property to FlatLabel
2021-10-13 13:48:03 +02:00
Karl Tauber
ac6702fcf7
Styling: Extras: add styleClass getter and setter to component classes
2021-09-29 23:56:41 +02:00
Karl Tauber
fd15b63044
Merge PR #378 : TextField: leading and trailing icons
...
# Conflicts:
# flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatPasswordFieldUI.java
# flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatTextFieldUI.java
2021-09-15 23:32:57 +02:00
Karl Tauber
263e6c34b5
Merge PR #341 : Styling individual components
2021-09-15 20:00:06 +02:00
Karl Tauber
eb62a3dc17
UI defaults inspector: avoid NPE if DerivedColorKeys.properties missing
2021-09-15 19:44:09 +02:00
Karl Tauber
674efae184
Styling: Extras: add style getters and setters to component classes
2021-09-06 15:23:15 +02:00
Karl Tauber
253df9325d
Extras: FlatAnimatedLafChange: made animated Laf change transition smoother
2021-09-04 13:19:12 +02:00
Karl Tauber
dc33c26960
TextField: support leading and trailing icons (issue #368 )
2021-09-02 17:45:33 +02:00
Karl Tauber
3f5acda132
UI defaults inspector: round HSL values (as also done in theme editor)
2021-08-05 18:49:03 +02:00
Karl Tauber
94375b7d36
Extras: added support for client property JTextField.padding (for commit a9dcf09d13)
2021-07-10 20:59:34 +02:00
Karl Tauber
74a748d92e
use LoggingFacade instead of printStackTrace() in flatlaf-extras and flatlaf-demo
2021-07-09 13:22:37 +02:00
Karl Tauber
294b8bb789
Extras: FlatInspector: fixed border value when class hierarchy is enabled
2021-07-02 10:14:51 +02:00
Karl Tauber
f1f7a2e7b6
Extras: FlatInspector: fixed missing "UI" row on Java 9+
2021-06-27 23:19:36 +02:00
Karl Tauber
8998371cae
Extras: FlatSVGUtils.createWindowIconImages(): return multi-resolution image only on Windows because Java implementations for macOS and Linux do not support multi-resolution images for window title icons
...
(issue #323 )
2021-05-14 17:33:40 +02:00
Karl Tauber
29e1dc6b55
FlatTitlePaneIcon: use getResolutionVariant(width, height) instead of getResolutionVariants() to allow creation of requested size on demand and to avoids creation of all resolution variants
...
Extras: `FlatSVGUtils.createWindowIconImages()` now returns a single multi-resolution image that creates requested image sizes on demand from SVG
(issue #323 )
2021-05-14 16:43:47 +02:00
Karl Tauber
866751ffc1
Extras: FlatInspector: show class hierarchies when pressing Alt key and prettified class names (dimmed package name)
2021-05-12 19:03:13 +02:00