Karl Tauber
936de60700
fixed memory leak in Panel, Separator and ToolBarSeparator (issue #471 )
2022-01-24 18:28:38 +01:00
Karl Tauber
f6b64d48ec
Merge PR #463 : Updating MegaMek Suite Information
2022-01-19 17:27:12 +01:00
Justin Bowen
b043da7d4c
Updating MegaMek Suite Information
2022-01-13 20:22:30 -05:00
Karl Tauber
7e47cc2443
updated sigtest for FlatLaf 2.0
...
(generated in clean workspace with gradle task `sigtestGenerate`)
2022-01-13 12:14:51 +01:00
Karl Tauber
b8b45f9442
Theme Editor: added to main readme
2022-01-11 16:17:17 +01:00
Karl Tauber
66337f9af6
release 2.0
2.0
2022-01-10 12:25:45 +01:00
Karl Tauber
54646706a0
README.md: added more documentation links
2022-01-10 12:13:30 +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
6d705e568a
Extras: FlatInspector: fixed "NOT SET" for component foreground
2022-01-09 19:40:17 +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
2aff7c97f9
Demo: changed theme names from "Flat *" to "FlatLaf *"
2022-01-08 22:56:20 +01:00
Karl Tauber
ca6fc7773e
README.md: added MooInfo to applications using FlatLaf (issue #460 )
2022-01-06 16:05:28 +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
61dd4d71d6
Theme Editor: added text field leading/trailing buttons/toolbar to preview
2022-01-05 19:43:06 +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
d10ea41b47
GitHub Actions:
...
- build on Java 17
- run natives.yml when Gradle version changed
2022-01-04 18:13:12 +01:00
Karl Tauber
9458870f70
update to Gradle 7.3.3
...
./gradlew wrapper --gradle-version=7.3.3
2022-01-04 16:06:37 +01:00
Karl Tauber
095794bbd1
GitHub Actions:
...
- use actions/setup-java@v2 (provides caching gradle files)
- use pre-installed Java 8 and 11
- no longer build on Java 9 and 14
- not yet build on Java 17 because used Gradle version 6.8.2 does not support it
can not yet upgrade to Gradle 7.x because nokee plugins (for C++) does not support it
2022-01-04 12:26:13 +01:00
Karl Tauber
c7fc0aa936
Demo: removed unnecessary setting component name
2022-01-03 23:56:26 +01:00
Karl Tauber
a8d98ced61
Theme Editor:
...
- support multi-line styles in overlay color preview
- minor preview improvements
2022-01-03 21:51:02 +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
8c891c7016
UIDefaultsDump: output base color used for resolving derived color
2022-01-03 18:46:56 +01:00
Karl Tauber
5c4706cbc9
Merge remote-tracking branch 'origin/main' into main
2022-01-03 17:05:37 +01:00
Karl Tauber
db66a6c4f0
Unit tests: re-enable testing scaled UI
...
avoid using UI_SCALE_ENABLED = false because if this test is executed first, class UIScale does not register listeners to UIManager, which prevents updating user scale factor on font changes and testing scaled UI fails
2022-01-03 16:52:43 +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
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
b6a504e121
Theme Editor: fixed "Pick Color from Screen" on macOS
...
On macOS Big Sur (and later), to pick colors outside of theme editor window it is necessary to give "Screen Recording" permission to the application (or to the IDE started from).
For the arrow keys, "Accessibility" permission is necessary.
See "System Preferences > Security & Privacy > Privacy".
2021-12-27 21:49:49 +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
53ebed7f89
CHANGELOG.md: added changes for #453 and #456
2021-12-26 22:44:55 +01:00
Karl Tauber
1c10c41808
Theme Editor: Preview: added style classes to all preview components (syntax flatlaf-preview-<componenttype>) to allow experimenting with styles in editor
2021-12-26 21:23:42 +01:00
Karl Tauber
01170b669b
Theme Editor: Preview:
...
- reworked disabling to avoid disabling internal components
- do not disable labels
- removed special code for JTextPane and JEditorPane, which seems to be no longer needed
2021-12-26 20:30:36 +01:00
Karl Tauber
b56215e5e3
Demo: moved leading/trailing icons (on text field) code from end of initComponents() to constructor (so that it easier to find)
2021-12-26 19:57:15 +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
Karl Tauber
efd8cf8236
release 2.0-rc1
2.0-rc1
2021-12-18 14:09:39 +01:00
Karl Tauber
8dbfc6d5d6
README.md: dark screenshots re-updated for v2 (using black background to avoid that light background shines through window border)
2021-12-16 14:53:29 +01:00
Karl Tauber
ef343397d4
README.md: screenshots updated for v2
2021-12-16 11:42:25 +01:00
Karl Tauber
cae02d31db
IntelliJ Themes: updated themes to newest versions (used IJThemesUpdater)
2021-12-16 00:51:03 +01:00
Karl Tauber
96c78cbc16
ComboBox: fixed wrong popup border when using in theme editor preview
2021-12-15 23:39:16 +01:00