weisj
48b5630b5b
Properties: Allow overwriting theme based boolean properties
...
Previously all boolean client properties installed by a Theme
were never overwritten if a different theme has different
values for them. We now parse non-boolean values when retrieving
a boolean property and properly mark the installed value as an
UIResource.
3 years ago
weisj
f653237b89
Demo: Allow simulating another operating system
...
This only changes os specific properties supplied by the Theme.
It won't load the os dependent base laf or decorations provider
as they generally won't be available. Also some properties
may be different from the platform default as they are set the
first time the laf is installed.
3 years ago
weisj
8539c5ec2f
Decorations: Make resize area smaller over window buttons
3 years ago
weisj
c190762ffa
Decorations: Adjust windows rect to have resize area outside frame
...
We should give the os enough space outside the frame to handle the
resize area itself.
This avoids issues with scrollbars at the window edge etc.
Fixes #266
3 years ago
weisj
b57d03d1ea
Fixup
3 years ago
weisj
812bf630da
Decorations: Mark popups as non-resizable on Windows
3 years ago
weisj
ca35e6ca67
Decorations: Remove DecorationsProvider#adjustWindowInsets
...
It was only used on Windows, where it is currently always
an effective no-op as the insets were adjusted by zero
values. In fact with non-zero adjustments the result was
an incorrectly sized window.
3 years ago
weisj
bd53c0b724
ColoredRadioButton: Fix use own copy of focusColor
...
Using the focusColor variable from the parent class
breaks assumptions about when the value is able to
change.
3 years ago
weisj
4155b6d2cd
Fix invalid html
3 years ago
weisj
4b1b674a3f
Everywhere: Remove invalid override annotations
3 years ago
weisj
2300e6564a
Build: Allow running errorprone with Java 8
3 years ago
weisj
8afe4665fd
Code Style: Fix violations
3 years ago
weisj
2c967927bd
Build: Don't compile module-info files when not supported
3 years ago
weisj
61447eae38
CI: Correct errorprone action name
3 years ago
weisj
d47218e249
README: Replace 'Autostyle' with 'Code Style'
3 years ago
weisj
d7e9d9607a
CI: Add errorprone check
3 years ago
weisj
9567ab1b9b
Build: Treat errorprone warnings as errors
3 years ago
weisj
7d6a35407f
Tooltip: Respect original clip bounds
...
This avoids some scenarios where the shadow would be painted
multiple times without erasing the background first,
resulting in increased opacity.
3 years ago
weisj
524e4ec0eb
MacOS: Fix JNF framework path
3 years ago
weisj
470162a700
Everywhere: Don't leave catch blocks empty
3 years ago
weisj
2de6417111
Everywhere: Don't #printStacktrace in catch blocks
3 years ago
weisj
c8eb4ea1d5
List: Make argument order explicit
3 years ago
weisj
d676e20240
Replace HashTable with LinkedHashMap
3 years ago
weisj
eaae0d17b2
Replace LinkedList with ArrayList
3 years ago
weisj
ef9d4f55e0
Everywhere: Address errorprone warnings
3 years ago
weisj
0a90720a3b
Make fallthrough explicit
3 years ago
weisj
c51f58379b
ComboBox: Make narrowing conversion explicit
3 years ago
weisj
06e4b32a6f
Everywhere: Allow subclasses in #equals implementations
3 years ago
weisj
833ee1b021
TabFrame: Handle missing switch cases
3 years ago
weisj
4dfbd8e399
Everywhere: Convert reference equality checks with Objects.equals where applicable
3 years ago
weisj
b970fa0e3c
Animations: Make Interpolator @Immutable
3 years ago
weisj
66fdf9a6c2
Everywhere: Clarify boolean expressions
3 years ago
weisj
257e996f44
Everywhere: Keep `synchronized` in overwritten methods
3 years ago
weisj
b441e722dc
Don't reinitialize static Actions in constructor
3 years ago
weisj
883088cb1d
Everywhere: Remove unused fields/variables
3 years ago
weisj
2b74e8ede8
Everywhere: Resolve shadowing member fields
...
They are either removed or renamed for clarity.
3 years ago
weisj
b2c80213bb
Everywhere: Remove unnecessary parenthesis
3 years ago
weisj
8ec52a7c26
Everywhere: Make protected members in final class private
3 years ago
weisj
1c0fdfc9c8
Everywhere: Add missing @Overwrite annotations
3 years ago
weisj
b171d72d1b
Build: Ignore 'MissingSummary' errorprone warning
3 years ago
weisj
7d07d4a9f8
Mark ThemedDarkLafProvider as @Immutable
3 years ago
weisj
81fc63ff10
Windows: Fix errorprone warnings
3 years ago
weisj
2d53cc269f
MacOS: Fix errorprone warnings
3 years ago
weisj
c04e386bd0
MacOS: Make argument order consistent
3 years ago
weisj
87726ff7be
Annotations: Annotate generated classes as @Generated
3 years ago
weisj
2491bda23e
IconSet: Annotate generated classes as @Generated
3 years ago
weisj
048dbd4087
PropertyLoader: Fix errorprone warnings
3 years ago
weisj
e2ae7812d3
Compatibility: Fix errorprone warnings
3 years ago
weisj
9db99c8c18
NativeUtil: Fix errorprone warnings
3 years ago
weisj
488b3b31e2
Annotations: Fix errorprone warnings
3 years ago