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
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
0cdfd29ecf
Extras: fixed concurrent loading of SVG icons on multiple threads (issue #459 )
2021-12-30 11:24:48 +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
53ebed7f89
CHANGELOG.md: added changes for #453 and #456
2021-12-26 22:44:55 +01:00
Karl Tauber
efd8cf8236
release 2.0-rc1
2021-12-18 14:09:39 +01:00
Karl Tauber
f8c769644d
SwingX: fixed NullPointerException in FlatCaret when using org.jdesktop.swingx.prompt.PromptSupport.setPrompt() on a text field and then switching theme
2021-12-15 11:37:35 +01:00
Karl Tauber
0bd1e413b0
Native window decorations: fixed UnsatisfiedLinkError on Windows 11 for ARM processors (issue #443 )
2021-12-15 00:49:08 +01:00
Karl Tauber
07c9ad484a
MenuBar: do not fill background if non-opaque and having custom background color (issue #409 )
2021-12-15 00:29:37 +01:00
Karl Tauber
5fd5b1206e
InternalFrame: fill background to avoid that parent may shine through internal frame if it contains non-opaque components (better fix for issue #274 )
2021-12-15 00:27:20 +01:00
Karl Tauber
02a9d4e31d
PasswordField: support "reveal" button to show password (issue #173 )
2021-12-14 01:09:21 +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
f93d035e4e
TextField: support leading and trailing components
2021-12-11 14:29:56 +01:00
Karl Tauber
600e0f3d67
Panel: support painting background with rounded corners (issue #367 )
...
FlatLineBorder: support rounded corners
2021-12-10 22:40:17 +01:00
Karl Tauber
023e356057
MenuItem: vertically align text if icons have different widths (issue #437 )
2021-12-08 11:45:17 +01:00
Karl Tauber
e52e72c5a8
Merge PR #415 : MenuItem: paint the selected icon when the item is selected
2021-12-07 22:52:25 +01:00
Karl Tauber
c9a38f0a13
SwingX: new "column control" icon for JXTable that scales and uses antialiasing (issue #434 )
2021-12-07 17:45:25 +01:00
Karl Tauber
405e3df1f0
Merge remote-tracking branch 'origin/develop-1.x' into main
...
# Conflicts:
# CHANGELOG.md
2021-12-07 16:05:31 +01:00
Karl Tauber
d8df8c9631
release 1.6.5
2021-12-07 15:05:13 +01:00
Karl Tauber
47a1122f04
Window decorations: do not exit application with UnsatisfiedLinkError in case that FlatLaf DLL cannot be executed because of restrictions on temporary directory (issue #436 )
2021-12-07 00:39:28 +01:00
Karl Tauber
e1bfabbce5
macOS: fixed NullPointerException when using AWT component java.awt.Choice (issue #439 )
2021-12-06 22:45:24 +01:00
Karl Tauber
7f4efaf0a3
ComboBox: fixed occasional StackOverflowError when modifying combo box not on AWT thread (issue #432 )
2021-12-06 17:15:37 +01:00
Karl Tauber
269eb0ba29
MenuItem: changed accelerator delimiter from - to + (Windows and Linux)
2021-12-04 12:15:53 +01:00
Karl Tauber
7dac3825d7
Linux: Fixed font problems when running on Oracle Java 8 (OpenJDK 8 is not affected):
...
- oversized text if system font is "Inter" (issue #427 )
- missing text if system font is "Cantarell" (on Fedora)
2021-11-24 10:47:58 +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
1caab194af
TabbedPane:
...
- added styling support for properties added in PR #343
- updated change log
2021-11-18 18:01:07 +01:00
Karl Tauber
4cb6aeae36
OptionPane: hide window icon by default; can be shown via UI default OptionPane.showIcon = true (issue #416 )
2021-11-16 21:20:01 +01:00
Karl Tauber
0a765a35bf
Merge remote-tracking branch 'origin/release-1.6.4' into main
...
# Conflicts:
# CHANGELOG.md
2021-11-16 15:52:15 +01:00
Karl Tauber
4da2bd90cb
ComboBox: fixed regression in FlatLaf 1.6.3 that makes selected item invisible in popup list if DefaultListCellRenderer is used as renderer (issue #426 )
2021-11-16 15:36:14 +01:00
Karl Tauber
80a8348a99
Window decorations:
...
- enabled `TitlePane.unifiedBackground` by default (because seems to be standard on Windows 11)
- no longer paint a bottom separator for the menu bar (if unified background is enabled)
2021-11-15 01:00:10 +01:00
Karl Tauber
005c9f471e
Window decorations:
...
- option to hide window icon (via client property or UI default)
- no longer show the Java "duke/cup" icon if no window icon image is set (issue #416 )
2021-11-15 01:00:10 +01:00
Karl Tauber
fcc39b2db5
Merge branch 'release-1.6.3' into main
...
# Conflicts:
# CHANGELOG.md
# flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatTreeUI.java
2021-11-14 23:23:29 +01:00
Karl Tauber
e44ff5b72a
Tree: Fixed editing cell issue with custom cell renderer and cell editor that use same component for rendering and editing ( fixes #385 )
...
(cherry picked from commit 161ee090a8 )
2021-11-14 22:34:28 +01:00
Karl Tauber
22cb1b50a6
ComboBox (not editable): fixed regression that may display text in non-editable combo boxes in bold (issue #423 )
...
fixes commits 02f3239669
and 0b6df8be1c
2021-11-14 22:11:19 +01:00
Karl Tauber
d59d38dc7c
added method FlatLaf.registerCustomDefaultsSource(URL packageUrl) for JPMS (issue #325 )
2021-11-12 17:00:26 +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
1de6e875f9
Merge branch 'release-1.6.2' into main
...
# Conflicts:
# CHANGELOG.md
2021-11-11 13:05:33 +01:00
Karl Tauber
ab320684f5
Native window decorations: fixed layout loop (issue #420 )
...
(cherry picked from commit d3355eda65 )
2021-11-11 12:35:51 +01:00
Karl Tauber
a284b69a1e
FileChooser: workaround for crash on Windows with Java 17 32bit (issue #403 )
...
(cherry picked from commits 44d8545c09 and 33b25c1129 )
2021-11-11 12:35:16 +01:00
Karl Tauber
b590f41254
Linux: fixed NPE when using java.awt.TrayIcon (issue #405 )
...
(cherry picked from commit 16a769ea61 )
2021-11-11 12:31:14 +01:00
Karl Tauber
a97076ead5
ComboBox: fix NPE in CellPaddingBorder.install() (issue #408 )
...
(cherry picked from commit d48b98f582 )
2021-11-11 12:30:10 +01:00
Karl Tauber
0b6df8be1c
ComboBox (not editable): fixed background painted outside of border if round edges are enabled (similar to issue #382 ; regression since fixing #330 in FlatLaf 1.4)
...
(cherry picked from commit 02f3239669 )
2021-11-11 12:26:09 +01:00
Karl Tauber
150bab0b57
Table: do not select text in cell editor when it gets focus (when JTable.surrendersFocusOnKeystroke is true) and TextComponent.selectAllOnFocusPolicy is once (the default) or always (issue #395 )
...
(cherry picked from commit f8b9f4c1fa )
2021-11-11 12:19:58 +01:00
Karl Tauber
d3355eda65
Native window decorations: fixed layout loop (issue #420 )
2021-11-11 11:49:39 +01:00
Karl Tauber
54e6cefa67
Native window decorations: show Windows 11 snap layouts menu when hovering the mouse over the maximize button (issues #397 and #407 )
2021-11-09 15:36:21 +01:00