Added flatlaf look and feel

This commit is contained in:
Robert Vokac 2024-04-23 19:00:35 +02:00
parent c0cdacfdb8
commit fcafe1f3e5
No known key found for this signature in database
GPG Key ID: 693D30BEE3329055
2 changed files with 8 additions and 0 deletions

View File

@ -67,6 +67,11 @@
<artifactId>sqlite-jdbc</artifactId> <artifactId>sqlite-jdbc</artifactId>
<version>3.41.2.1</version> <version>3.41.2.1</version>
</dependency> </dependency>
<dependency>
<groupId>com.formdev</groupId>
<artifactId>flatlaf</artifactId>
<version>3.4.1</version>
</dependency>
</dependencies> </dependencies>
</project> </project>

View File

@ -1,5 +1,7 @@
package org.nanoboot.utils.timecalc.app; package org.nanoboot.utils.timecalc.app;
import com.formdev.flatlaf.FlatLightLaf;
import java.io.IOException; import java.io.IOException;
/** /**
@ -15,6 +17,7 @@ public class Main {
// f.delete(); // f.delete();
// } // }
// } // }
FlatLightLaf.setup();
if(ONLY_ACTIVITIES_WINDOW_IS_ALLOWED) { if(ONLY_ACTIVITIES_WINDOW_IS_ALLOWED) {
ActivitiesMain.main(args); ActivitiesMain.main(args);
} else { } else {