Bumping version of SWT to max it can go (without upgrading Java version); setting display data to maybe get a better dark mode experience.

This commit is contained in:
Rob Greene 2023-10-24 23:25:41 -05:00
parent e68741cffe
commit a91bcec4a9
2 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,7 @@ version=1.9.0-SNAPSHOT
shkVersion=1.2.2
asVersion=1.2.1
btVersion=0.3.1
swtVersion=3.118.0
swtVersion=3.123.0
piSwtVersion=3.8.2
junitVersion=4.12
antVersion=1.8.2

View File

@ -78,6 +78,7 @@ public class SwtAppleCommander implements Listener {
Display.setAppName("AppleCommander");
Display.setAppVersion(AppleCommander.VERSION);
Display display = new Display();
display.setData("org.eclipse.swt.internal.theme.useSystemColors", true);
display.asyncExec(() -> {
for (String arg : args) {
open(arg);