Karl Tauber
d09e166e4a
SplitPane: fixed StackOverflowError caused by layout loop that may occur under special circumstances (issue #513 )
2022-04-12 13:47:04 +02:00
Karl Tauber
68a7a60ff2
FileChooser: enabled full row selection for details view to fix alternate row coloring (issue #512 )
2022-04-12 13:28:39 +02:00
Karl Tauber
081fd43d98
IntelliJ Themes: Component.accentColor UI property now has useful theme specific values (issue #507 )
2022-04-07 18:07:09 +02:00
Karl Tauber
ef2eedfc7c
Button: fixed icon layout and preferred width of default buttons that use bold font (issue #506 )
2022-04-06 23:36:58 +02:00
Karl Tauber
0dba9265be
ToolBar: fixed endless loop in focus navigation that may occur under special circumstances (issue #505 )
2022-04-06 18:53:45 +02:00
Karl Tauber
301aae9b8e
NativeLibrary: use System.mapLibraryName() instead of own implementation
2022-03-19 11:07:46 +01:00
Karl Tauber
c63f4e9662
Window decorations on Linux: limit window resizing/moving to left mouse button (issue #482 )
2022-03-18 00:05:15 +01:00
Karl Tauber
47508dc6ac
Native window decorations: updated DLLs (issue #502 )
...
built by GitHub Actions:
https://github.com/JFormDesigner/FlatLaf/actions/runs/2000978687
2022-03-17 22:48:01 +01:00
Karl Tauber
0bf87b753d
TabbedPane: disable all items in "Show Hidden Tabs" popup menu if tabbed pane is disabled
2022-03-17 12:42:49 +01:00
Karl Tauber
53f2730064
TextArea, TextPane and EditorPane: no longer select all text when component is focused for the first time (issue #498 ; regression in FlatLaf 2.0)
2022-03-17 12:21:06 +01:00
Karl Tauber
fef6ae7ff7
Menus: scroll large menus using mouse wheel or up/down arrows (issue #225 )
2022-03-14 11:41:05 +01:00
Karl Tauber
2ae9bb381d
Menus: fixed IllegalComponentStateException: component must be showing on the screen to determine its location when submenu is empty (PR #490 ; issue #247 )
2022-03-14 00:23:53 +01:00
Karl Tauber
53bde84710
fixed compiler warning
2022-03-13 19:17:41 +01:00
Karl Tauber
d006ac27ff
Merge PR #490 : Menus: improved usability of submenus
2022-03-13 19:07:59 +01:00
Karl Tauber
c478d28b71
PasswordField: fixed reveal button appearance in IntelliJ themes (issue #494 )
2022-03-13 18:39:12 +01:00
Karl Tauber
99f7b9ad84
ScrollBar:
...
- added `ScrollBar.minimumButtonSize` to specify minimum scroll arrow button size
- center and scale arrows in scroll up/down buttons
(issue #493 )
2022-03-13 10:58:27 +01:00
Karl Tauber
d8f3682dc0
Menus: improved usability of submenus (issue #247 )
2022-02-28 14:45:57 +01:00
Karl Tauber
1fec7ba553
Linux: support using custom window decorations (issue #482 )
2022-02-26 23:07:16 +01:00
Karl Tauber
418f55f34e
Window decorations: fixed window resizing on Linux (issue #482 )
2022-02-26 14:00:16 +01:00
Karl Tauber
05d795b2ae
Window decorations: use special fix for maximized bounds only on Windows (issue #469 )
2022-02-26 13:33:55 +01:00
Karl Tauber
a365b750d9
core: minor code cleanup:
...
- add final where possible
- removed "public" from interface methods
- simplified conditional expressions
- removed unnecessary unboxing
- removed unused assignements
- removed redundant casts
(used IntelliJ IDEA 2021.3 inspections)
2022-02-25 21:49:15 +01:00
Karl Tauber
0aecfb565f
IntelliJ Themes: removed duplicate key and trailing spaces
2022-02-25 21:12:48 +01:00
Karl Tauber
0cf4edd9e5
core: fixed typos/grammar in comments
2022-02-25 20:40:37 +01:00
Karl Tauber
1a131d5206
Merge PR #484 : Fix NPE when painting icon on OS X top menu bar
2022-02-25 15:58:41 +01:00
Karl Tauber
016e515ae2
moved TestFlatIconNullComponent to other package and fixed file name (issue #483 )
2022-02-25 15:52:40 +01:00
Karl Tauber
49eb0b0201
Native window decorations: updated DLLs (issue #477 )
...
built by GitHub Actions:
https://github.com/JFormDesigner/FlatLaf/actions/runs/1866639721
2022-02-18 22:44:00 +01:00
Nicolas Roduit
c7fa475128
NPE when painting icon on OS X top menu bar #483
2022-02-18 18:30:24 +01:00
Karl Tauber
4174b065f3
repaint component when setting client property JComponent.outline (issue #480 )
2022-02-16 23:53:21 +01:00
Karl Tauber
751c0e16e9
ToolTip: fixed wrong tooltip location if component overrides JComponent.getToolTipLocation() and wants place tooltip under mouse location (issue #468 )
2022-01-24 23:24:39 +01:00
Karl Tauber
936de60700
fixed memory leak in Panel, Separator and ToolBarSeparator (issue #471 )
2022-01-24 18:28:38 +01:00
Karl Tauber
e8ee037d09
RootPane: uninstall background, foreground and font because not all Lafs set them
2022-01-10 11:58:49 +01:00
Karl Tauber
e768791eba
Native window decorations: updated hover and pressed colors of iconify/maximize/close buttons for Windows 11 style
2022-01-09 12:59:08 +01:00
Karl Tauber
a1395a5490
TextField: leading/trailing components (PR #386 ):
...
- set cursor only on button and toolbar
- do not replace cursor on if already set (issue #461 )
- updated client properties javadoc
2022-01-06 15:17:20 +01:00
Karl Tauber
6beda53238
Button: if boolbar button is in leading/trailing component of a text field, increase toolbar button corner arc to match text field corner arc (issue #451 )
2022-01-05 18:46:00 +01:00
Karl Tauber
941441d7e1
TextField: clear button has now component name TextField.clearButton
...
PasswordField: reveals button has now component name `PasswordField.revealButton` and additional style class `revealButton` (issue #173 )
SwingUtils: added `getComponentByName()` for easy getting clear or reveal buttons
2022-01-05 18:32:05 +01:00
Karl Tauber
831b3d851a
ColorFunctions: javadoc added; do not mix colors if they are equal
2022-01-03 19:04:28 +01:00
Karl Tauber
0517e4fc02
Native window decorations: updated maximize and restore icons for Windows 11 style
...
(requires Java 8u321, 11.0.14, 17.0.2 or 18+)
2021-12-31 17:57:02 +01:00
Karl Tauber
dd7fa4a87d
Slider: fixed/improved focused indicator color when changing accent color (PR #375 )
2021-12-31 15:33:27 +01:00
Karl Tauber
e5956900ea
FileChooser: use Windows system icons in Java 18+ 32bit (issue #403 )
...
only Java 17 32bit does not use Windows system icons because of:
https://bugs.openjdk.java.net/browse/JDK-8277299
2021-12-31 12:59:22 +01:00
Karl Tauber
3755593c14
Windows 11: Native window decorations: do not paint top window border because Windows 11 now paints it (issue #431 )
...
(requires Java 8u321, 11.0.14, 17.0.2 or 18+)
2021-12-31 10:35:19 +01:00
Karl Tauber
8ddd3b6d68
Native window decorations: fixed blurry iconify/maximize/close button hover rectangles at 125%, 150% or 175% scaling (issue #431 )
2021-12-31 10:28:34 +01:00
Karl Tauber
840083940d
Use FlatLaf native window decorations by default when running in
...
[JetBrains Runtime](https://github.com/JetBrains/JetBrainsRuntime/wiki )
(instead of using JetBrains custom decorations). System variable
`flatlaf.useJetBrainsCustomDecorations` is now `false` by default (was `true` in FlatLaf 1.x). (issue #454 )
2021-12-30 12:04:22 +01:00
Karl Tauber
bb32c727b6
TextField:
...
- improved hover/pressed/selected colors of leading/trailing buttons
(e.g. "reveal" button in password field) (issue #452 )
- clear button no longer paints over round border (issue #451 )
2021-12-28 20:24:43 +01:00
Karl Tauber
f978c04750
PasswordField: reveal button did not show password if JPasswordField.setEchoChar() was invoked from application (PR #442 ; issue #173 )
2021-12-27 22:53:07 +01:00
Karl Tauber
5fae367fab
PasswordField: preserve reveal button state when switching theme (issue #173 )
2021-12-27 20:07:27 +01:00
Karl Tauber
6e807f44b2
Search/clear icons: fixed colors for some IntelliJ themes (e.g. "Dark Flat") that use translucent color for Actions.GreyInline
2021-12-27 18:22:31 +01:00
Karl Tauber
221e801561
support relative path in system property flatlaf.nativeLibraryPath (PR #453 )
2021-12-23 22:19:29 +01:00
Karl Tauber
90edbe23d7
Merge PR #453 : Add a system property to load pre-extracted native libraries from a directory
2021-12-23 22:10:11 +01:00
Karl Tauber
5b16a814c8
fixed "endless recursion in font" exception in FlatLaf$ActiveFont.createValue() if UIManager.getFont() is invoked from multiple threads (issue #456 )
2021-12-23 21:16:07 +01:00
Ingo Kegel
ef01721464
Added the system property flatlaf.nativeLibraryPath to specify a directory where the native libraries have been extracted.
...
Avoiding extraction at runtime to the temporary directory is useful in order to prevent anti-virus software from blocking the library loading.
2021-12-21 11:13:40 +01:00