weisj
db947a94c7
IconSet: Fix incorrect icon path
3 years ago
weisj
9884275d4f
Tests: Fix failing tests blocking execution
3 years ago
weisj
98d398ba5c
Abstract usage of IconLoader away into an interface
...
This opens up the possibility of providing custom icons
through themes.
3 years ago
weisj
07e4162c96
Replace usage of DarkUIUtil.ICON_LOADER with AllIcons api
3 years ago
weisj
ccf1743467
IconLoader: Cleanup
3 years ago
weisj
c7cb00cfef
IconLoader: Clear cache when caching is disabled
3 years ago
weisj
d90247ca5b
Tests: Only check that the cache size can shrink
3 years ago
weisj
cb7eb13b5f
Tests: Ensure expected state of icon loader
3 years ago
weisj
b1e18d6df3
Tests: Test icons loaded by themes are reclaimed
3 years ago
weisj
126670c6d9
IconLoader: Replace hard cache with SoftCache
3 years ago
weisj
2577a5a168
Util: Add cache which keeps a soft reference on the values
...
The values need to implement the SoftCache.Cacheable<K> interface
where K is the key type. By doing this they promise to keep a
reference to the key. Not doing so will eventually cause the value
from being removed from the cache.
3 years ago
weisj
ae1a208220
Decorations: Remove non jni install path
...
The client-property approach for java >= 12 resulted in window resizing failing
if it causes the window to be realized. Setting the 'fullSizeContentView' and
'transparentTitleBar' client-properties resulted in a native resize happening
inside 'Component#reshape' causing unexpected resize results.
We replace it with our jni approach to have better control over what happens to the window sizes.
Fixes #230
3 years ago
weisj
84fceaf006
Spinner+ComboBox: Paint spinners and comboboxes in a JPopupMenu without the focus border
3 years ago
weisj
7a82a43a86
IconSet: Fix close hovered icon
3 years ago
weisj
56812a7479
Demo: Use icon accessor in ThemeEditor
3 years ago
weisj
ae003e6db7
Build: Make sure icons loaded by icon accessor are themed
3 years ago
weisj
37607b0a8c
Build: Promote iconset to api
3 years ago
weisj
42d94767d4
Table: Properly overwrite cell editors
3 years ago
weisj
b7c2625776
Demo: Add inspector
3 years ago
weisj
45401afb0c
Demo: Fix icon loading
3 years ago
weisj
d99c8a27ff
PopupMenu: Fix NPE when using ScrollPopupMenu
3 years ago
weisj
5ba0a93e5e
Fix style violations
3 years ago
weisj
b72f0699fa
PopupMenu: PopupMenus with no component shouldn't be displayed.
3 years ago
weisj
b6f7973711
Menu: Only intercept menu closing if not a top level menu
3 years ago
weisj
30da96f092
Menu: Make appearance & behaviour of disabled menu entries more consistent
3 years ago
weisj
012e85b596
Fix package
3 years ago
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