Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Herzog committed May 25, 2024
1 parent 8487c8a commit 9562177
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Simulator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
<packaging>jar</packaging>

<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.release>11</maven.compiler.release>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>WINDOWS-1252</project.build.sourceEncoding>
</properties>

Expand Down Expand Up @@ -44,7 +45,7 @@
<dependency>
<groupId>com.formdev</groupId>
<artifactId>flatlaf</artifactId>
<version>3.0</version>
<version>3.4.1</version>
</dependency>
</dependencies>

Expand Down
1 change: 1 addition & 0 deletions Simulator/src/main/java/ui/tools/FlatLaFHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ private static String getName(Class<? extends FlatLaf> laf) {
*/
public static void init() {
lafs.forEach(laf->{try {UIManager.installLookAndFeel(new UIManager.LookAndFeelInfo(getName(laf),laf.getName()));} catch (SecurityException | IllegalArgumentException e) {}});
UIManager.getDefaults().clear(); /* Genau an dieser Stelle für *racle/OpenJDKWin-Builds nötig, damit FlatLaF funktioniert */
}

/**
Expand Down

0 comments on commit 9562177

Please sign in to comment.