Karl Tauber
12fc2299ec
update to Gradle 7.5.1
...
./gradlew wrapper --gradle-version=7.5.1
2022-09-28 15:44:16 +02:00
Karl Tauber
2089c77b84
updated sigtest for FlatLaf 2.5
...
(generated in clean workspace with gradle task `sigtestGenerate`)
2022-09-27 16:50:34 +02:00
Karl Tauber
4f5a3e8d8b
release 2.5
2.5
2022-09-27 16:11:48 +02:00
Karl Tauber
614ac956de
updated sigtest to 1.7
2022-09-23 12:31:42 +02:00
Karl Tauber
c228362c01
Window decorations: added UI value TitlePane.font to customize window title font (issue #589 )
2022-09-23 11:57:38 +02:00
Karl Tauber
f6c5db07f2
MenuBar: top level menus now use MenuBar.font instead of Menu.font (issue #589 )
2022-09-23 00:31:14 +02:00
Karl Tauber
78e7839213
Window decorations: added option to show window icon only in frames, but not in dialogs (issue #589 )
2022-09-23 00:13:01 +02:00
Karl Tauber
86a4f306c6
Styling: added convenience methods to invoke StyleableUI interface methods
...
~~~java
JButton button = new JButton();
int arc = FlatLaf.getStyleableValue( button, "arc" );
Color borderColor = FlatLaf.getStyleableValue( button, "borderColor" );
~~~
2022-09-14 10:51:11 +02:00
Karl Tauber
0e523f1193
SwingX: fixed missing highlighting of "today" in JXMonthView and JXDatePicker
2022-09-12 13:29:53 +02:00
Karl Tauber
9041a16b22
IntelliJ Themes: updated themes to newest versions (used IJThemesUpdater)
2022-09-11 18:03:11 +02:00
Karl Tauber
596ff3382d
PasswordField: reveal button is now hidden (and turned off) if password field is disabled (issue #501 )
2022-09-11 17:05:48 +02:00
Karl Tauber
cbd80252ed
Testing: introduced client property to exclude components in FlatTestFrame.updateComponentsRecur()
2022-09-11 14:17:55 +02:00
Karl Tauber
bcd7a7e3dd
FlatClientProperties: fixed typo in javadoc
2022-09-11 13:59:54 +02:00
Karl Tauber
9c98f1a553
fixed compiler warnings
2022-09-11 12:40:27 +02:00
Karl Tauber
c3d214aa23
Merge PR #579 : Linux window decorations: native move window and system menu
2022-09-11 12:11:06 +02:00
Karl Tauber
d301f6e104
MenuBar: support different menu selection style UI defaults for MenuBar and MenuItem (issue #587 )
2022-09-11 12:00:38 +02:00
Karl Tauber
eb9fa585f7
more fixes for AWT components on macOS (issue #583 )
...
- ScrollBar: disable hover because scroll bar does not receive mouse exited event
2022-09-10 18:56:33 +02:00
Karl Tauber
16c6ffb032
more fixes for AWT components on macOS (issue #583 )
...
- use light theme for AWT components if dark FlatLaf theme is active (AWT is always light)
- made AWT peer background compatible with Aqua Laf
2022-09-10 16:53:29 +02:00
Karl Tauber
7858e42e37
fixed AWT components on macOS (issue #583 )
...
- fixed missing focus indicator
- fixed round corners
- fixed java.awt.Button background
- fixed java.awt.Choice background
- fixed java.awt.Checkbox hover
2022-09-05 14:47:17 +02:00
Karl Tauber
30132aa6b0
added system property flatlaf.updateUIOnSystemFontChange to allow disabling automatic UI update when system font changes (issue #580 )
2022-08-24 19:32:38 +02:00
Karl Tauber
bf4d4cc2c5
Linux: fixed double-click on title bar to maximize/restore on Ubuntu 22.04 (issue #482 )
2022-08-21 19:49:41 +02:00
Karl Tauber
9f0554c883
Linux: added libflatlaf-linux-x86_64.so (issue #482 )
...
built by GitHub Actions:
https://github.com/JFormDesigner/FlatLaf/actions/runs/2898994332
2022-08-21 17:35:44 +02:00
Karl Tauber
218ea6ce47
Linux: fixed double-click on title bar to maximize/restore (issue #482 )
2022-08-21 17:24:50 +02:00
Karl Tauber
0baae7da8b
Linux: load jawt.so explicitly before loading FlatLaf native library to fix UnsatisfiedLinkError: ... libjawt.so: cannot open shared object file ... (issue #482 )
2022-08-20 23:49:14 +02:00
Karl Tauber
fb4576fc1b
Linux: use X11 window manager events to move window and to show window menu (right-click on window title bar), if custom window decorations are enabled (issue #482 )
2022-08-20 21:09:49 +02:00
Karl Tauber
16f3f9e6ff
Window decorations: added client property to mark components in embedded menu bar as "caption" (issue #569 )
2022-08-20 19:42:38 +02:00
Karl Tauber
fee7cf6265
FlatPopupFactory: use method handles instead of reflection
2022-08-13 11:18:47 +02:00
Karl Tauber
2dd75c4a64
fixed possible exception in FlatUIUtils.resetRenderingHints() (issue #575 )
2022-08-12 15:41:55 +02:00
Karl Tauber
d2f46cd0b5
TabbedPane: option to disable tab run rotation in wrap layout (issue #574 )
2022-08-12 15:32:39 +02:00
Karl Tauber
10914083e6
JavaCompatibility: use method handles instead of reflection
2022-08-12 11:20:42 +02:00
Karl Tauber
5d167da55e
Styling: fixed styling protected JRE fields using @StyleableField annotation (regression in commit ff00a6c0f0)
2022-08-12 11:15:49 +02:00
Karl Tauber
b381e20e57
UIDefaultsLoader: over() color function should always return a ColorUIResource
2022-08-11 23:52:35 +02:00
Karl Tauber
475cc9a9a5
Testing: extended FlatPaintingIconsTest to paint icons as pixels
2022-08-11 13:51:19 +02:00
Karl Tauber
264d6fbd6d
Testing: added FlatPaintingIconsTest
2022-08-11 00:28:44 +02:00
Karl Tauber
2826cf379b
added arrow icons to FlatLaf Icons.sketch and exported as SVGs
2022-08-11 00:24:22 +02:00
Karl Tauber
d28745df29
added missing @since 1.2 tags to setup() methods
2022-08-05 11:19:52 +02:00
Karl Tauber
94f9e4a1be
fixed missing UI value MenuItem.acceleratorDelimiter on macOS (was null, is now an empty string)
2022-08-03 13:16:43 +02:00
Karl Tauber
ec547e1d65
fixed compiler warnings
2022-08-03 11:55:59 +02:00
Karl Tauber
61d4eb649b
Styling: fixed failing unit test TestFlatStyleableValue
...
- caused by non-english locale
- when running on Java 17
2022-08-03 11:21:06 +02:00
Karl Tauber
52ad15e375
Styling: added StyleableUI.getStyleableValue() for tooling (e.g. GUI builder)
2022-07-31 10:57:28 +02:00
Karl Tauber
ff00a6c0f0
Styling: use annotation on UI classes for fields in Basic* classes to apply style properties (to avoid boilerplate code)
2022-07-30 11:03:17 +02:00
Karl Tauber
9b1ebd658d
updated sigtest for FlatLaf 2.4
...
(generated in clean workspace with gradle task `sigtestGenerate`)
2022-07-13 23:45:28 +02:00
Karl Tauber
f842530537
release 2.4
2.4
2022-07-13 23:43:02 +02:00
Karl Tauber
63077bbb19
Merge PR #565 : Window title bar usability improvements (Windows 10/11 only)
2022-07-13 23:28:38 +02:00
Karl Tauber
4dad337377
Window decorations: fixed app icon hit test bounds if icon is shown beside title
2022-07-13 23:11:32 +02:00
Karl Tauber
10a965d765
Window decorations: option to show window icon beside window title, if menu bar is embedded or title is centered
2022-07-13 17:58:25 +02:00
Karl Tauber
3e9c9c9066
execute FlatLaf.initialize() and uninitialize() only for current laf
...
For NetBeans GUI builder, which invokes `FlatLaf.initialize()` multiple times for preview, but never invokes `FlatLaf.uninitialize()`.
(https://github.com/apache/netbeans/issues/4231 )
2022-07-12 12:13:19 +02:00
Karl Tauber
8b5a738e65
Menus: avoid that SubMenuUsabilityHelper can be installed multiple times, which can freeze the application caused pushing multiple event queues and popping wrong event queue first
...
(e.g. NetBeans Form Editor invokes `FlatLaf.initialize()` but not `uninitialize()`)
(PR #490 ; https://github.com/apache/netbeans/issues/4231 )
2022-07-12 10:33:53 +02:00
Karl Tauber
2c041dce3a
Window decorations: add small resize area at top of embedded menu bar only if frame is resizable
2022-07-11 17:47:04 +02:00
Karl Tauber
ef151c68f4
Window decorations:
...
- improved title bar usability by using larger gaps and minimum sizes
- added minimum gap between embedded menu bar and window title
- fixed oscillating title while resizing window width
- fixed lost right-to-left component orientation in title bar when switching Laf
2022-07-11 17:28:30 +02:00