weisj
9db99c8c18
NativeUtil: Fix errorprone warnings
3 years ago
weisj
488b3b31e2
Annotations: Fix errorprone warnings
3 years ago
weisj
db26ca6bfa
Theme: Fix errorprone warnings
3 years ago
weisj
8dd0e958d3
Utils: Fix errorprone warnings
3 years ago
weisj
94929e5cda
Build: Setup errorprone
3 years ago
weisj
3a97adec97
IconSet: Fix icon path for revert
3 years ago
weisj
b5e9da0aec
Test: Report which test failed
3 years ago
weisj
f8bf001609
Test: Disable flaky tests
3 years ago
weisj
fe7ecce73e
Always return sensible insets for table borders
3 years ago
weisj
34278b7202
Spinner: Disable buttons on boundaries
3 years ago
weisj
d03e010650
IconSet: Create missing disabled variants for +/- icons
3 years ago
weisj
f685afca0f
Build: Make library file names unique across target machines
...
This allows us to flatten the library directory. It also
enables the possibility of having all libraries inside the
same directory
Relates to #262
3 years ago
weisj
55cc5116ce
Icon: Break early if no value match is found
3 years ago
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