weisj
4537a687f8
InternalFrame: Hide shadow border if not inside a JDesktopPane
3 years ago
weisj
e48f23d20b
InternalFrame: Make focus effect dependent on component focus.
...
If a JInternalFrame is used outside a JDesktopPane its title pane would keep the focus effect even though it wasn't active anymore.
Fixes #261
3 years ago
weisj
08614fbc08
PopupMenu: Properly handle sun.awt.UngrabEvent
3 years ago
weisj
73692487ac
Decorations: Allow for back-stealing of the unified menubar
...
Fixes #258
3 years ago
weisj
45abd4ad69
Menu: Paint with disabled foreground if model is enabled but the menu item not
...
Fixes #260
3 years ago
weisj
e68f78eea0
Menu: Use disabled arrow icon if menu is disabled
...
Fixes #259
3 years ago
weisj
1e065e90e4
IconSet: Generate accessor for selected icons and add missing icons
...
To avoid having people to rely on the location of icons we provide accessors for icons which are likely not to be removed or dramatically altered. This allows us to freely change the location of icons without breaking consumer code.
3 years ago
weisj
627f80ce05
Theme: Add convenience constants for the color palette
3 years ago
weisj
e22a699025
IconSet: Add license header to module-info
3 years ago
weisj
c807808273
IconSet: Make icon names more consistent
3 years ago
weisj
de02d43282
Core: Add missing package exports
3 years ago
weisj
df0834f739
Readme: Add bytecode-viewer to projects which use darklaf
3 years ago
weisj
e3a855cbd9
Theme: Fix derived foreground color definitions for OneDarkTheme.
3 years ago
weisj
506313fd9f
Bump version to 3.0.0
3 years ago
weisj
425289e4a5
Remove deprecated FileTree
3 years ago
weisj
1f6eb6ecf8
PropertyLoader: Drop support for color values without a leading #
3 years ago
weisj
69ea0119a1
Test: Try to alleviate deadlocks while running demo tests.
3 years ago
weisj
85e556fdfe
Dispatch events on a copy of the listener list
...
This allows for listeners to be removed/added while dispatching.
3 years ago
weisj
8f8194ee81
Fail Laf installation if laf is currently being installed.
3 years ago
weisj
a9ae43f2b2
Ensure contract of Collections#synchronizedList
...
Looping over a synchronized list must either manually synchronize over the list or use the "atomic" List#forEach method.
3 years ago
weisj
b926d95aa5
CI: Upload test report
3 years ago
weisj
c7e608d36a
CI: Fix documentation action
...
It erroneously still set the XCode version to 12.1 even though it isn't supported anymore.
3 years ago
weisj
0fc2d6f7f9
Build: Reenable autostyle
3 years ago
weisj
72e30b4b23
Demo: Make content pane wrapping opt-in
...
For now we should only delegate the creation of the content pane to the BaseComponentDemo for demos which explicitly support the Spec declarations.
3 years ago
weisj
0afd88b18c
Demo: Don't add control separator if no controls are defined.
3 years ago
weisj
5eedd6e5cf
Test: Iterate over all spec combinations if extensive testing is enabled.
...
For now this options is disabled as the number of combinations gets very large.
3 years ago
weisj
e0bfabfe7a
Demo + Test: Refactor ComponentDemo
...
A ComponentDemo should be able to expose its possible
configurations such that we can test all combinations.
3 years ago
weisj
31a765b08c
Test: Don't set --module-path when not supported
3 years ago
weisj
82a5f3138f
Test + CI: Upload test reports
3 years ago
weisj
623ffc6c01
Readme: Update file paths
3 years ago
weisj
75e8d9c4e7
Test: Fix NPE exception when demo is null
3 years ago
weisj
0282f04a58
Test: Suppress unchecked cast warnings
3 years ago
weisj
12f68839df
Test: More tests about library packaging
3 years ago
weisj
92e544c4d7
Test: Prevent initializing the `editor` variable in the shared ui
3 years ago
weisj
eaddd25f56
Test: Test switching laf
...
Test whether it is possible to switch the laf without causing an error.
To do this we need to test demos, which require Darklaf to be installed last.
3 years ago
weisj
660e2f3ab4
Test: Clean up custom init tasks after tests have run
3 years ago
weisj
ff9c871ada
Build+Test: Open test resources for property loader
3 years ago
weisj
c43cbbc62e
Parser: Change inline prefix from `#` to '%'
...
Previously inline color declarations would need to be declared with two leading `#` being error prone to forgetting the second `#`.
3 years ago
weisj
e0bd43dc06
Icons: Fix url discrepancy when running on module path
...
When running on the module path the url returned by `Class::getResource` would start with jar:file:/// instead of the jar:file:/ from the class loader. This messes up the uri resolving for patched icons.
3 years ago
weisj
5976fa837d
Build: Run tests and demos on the module path
3 years ago
weisj
774e4fea4d
Modules: Fix resource loading when running on the module path.
3 years ago
weisj
9cb82105e8
Build: Extract compatibility code into separate project
...
This allows us to limit the scope where '--release' can't be used for compilation.
3 years ago
weisj
7ca3405acc
Actions: Adjust java versions
...
With the compilation of the module-info a java toolchain with version at least 11 is required.
3 years ago
weisj
c3e88f3156
Build: Add option to skip module info compilation
3 years ago
weisj
4283d52422
NativeUtils: Rename package from platform to nativeutil
3 years ago
weisj
ed1a162f42
SwingUtils: Convert grab/ungrab methods to MethodHandles.
3 years ago
weisj
666f5f67e6
Remove debug painting.
3 years ago
weisj
be6fa54058
Modules: Move utils in darklaf to ui.utils to avoid split packages. Move classes in property-loader to the properties subpackage to avoid split packages.
3 years ago
weisj
e716522288
Build: Add and compile module info
...
We add a custom task to compile the module-info with a newer java version.
To ensure the module-info is correct we need to compile it together with all other project sources.
3 years ago
weisj
838bf39224
Remove unused class
3 years ago