summaryrefslogtreecommitdiffstats
path: root/dozentenmodul
diff options
context:
space:
mode:
Diffstat (limited to 'dozentenmodul')
-rwxr-xr-xdozentenmodul/src/main/java/org/openslx/dozmod/App.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/App.java b/dozentenmodul/src/main/java/org/openslx/dozmod/App.java
index 36ea083b..9ef3f7b9 100755
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/App.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/App.java
@@ -163,6 +163,11 @@ public class App {
}
}
+ // Setup swing style
+ // need to set Antialiasing two times. Before AND after FlatLaf init ~.~
+ System.setProperty("awt.useSystemAAFontSettings", "on");
+ System.setProperty("swing.aatext", "true");
+
// Install FlatLaf look and feel
FlatLightLaf.installLafInfo();
FlatDarkLaf.installLafInfo();
@@ -193,6 +198,7 @@ public class App {
}
// Setup swing style
+ // need to set Antialiasing two times. Before AND after FlatLaf init ~.~
System.setProperty("awt.useSystemAAFontSettings", "on");
System.setProperty("swing.aatext", "true");