fix: removes dependency to other L&F. Doesn't look good.
This commit is contained in:
parent
9629d57f11
commit
c918237bf2
|
@ -11,6 +11,5 @@
|
|||
<classpathentry kind="var" path="M2_REPO/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar" sourcepath="M2_REPO/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar" sourcepath="M2_REPO/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/org/jsoup/jsoup/1.11.3/jsoup-1.11.3.jar" sourcepath="M2_REPO/org/jsoup/jsoup/1.11.3/jsoup-1.11.3-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/com/jtattoo/JTattoo/1.6.7/JTattoo-1.6.7.jar" sourcepath="M2_REPO/com/jtattoo/JTattoo/1.6.7/JTattoo-1.6.7-sources.jar"/>
|
||||
<classpathentry kind="var" path="M2_REPO/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar" sourcepath="M2_REPO/com/google/code/gson/gson/2.8.0/gson-2.8.0-sources.jar"/>
|
||||
</classpath>
|
13
pom.xml
13
pom.xml
|
@ -32,11 +32,16 @@
|
|||
<artifactId>jsoup</artifactId>
|
||||
<version>1.11.3</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.jtattoo</groupId>
|
||||
<artifactId>JTattoo</artifactId>
|
||||
<version>1.6.7</version>
|
||||
<!-- <dependency>
|
||||
<groupId>com.formdev</groupId>
|
||||
<artifactId>flatlaf</artifactId>
|
||||
<version>0.46</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.formdev</groupId>
|
||||
<artifactId>flatlaf-intellij-themes</artifactId>
|
||||
<version>0.46</version>
|
||||
</dependency> -->
|
||||
<dependency>
|
||||
<groupId>com.google.code.gson</groupId>
|
||||
<artifactId>gson</artifactId>
|
||||
|
|
|
@ -4,7 +4,6 @@ import java.awt.Dimension;
|
|||
|
||||
import javax.swing.SwingUtilities;
|
||||
import javax.swing.UIManager;
|
||||
import javax.swing.UnsupportedLookAndFeelException;
|
||||
|
||||
import se.lantz.gui.MainWindow;
|
||||
import se.lantz.util.ExceptionHandler;
|
||||
|
@ -22,12 +21,10 @@ public class PCUGameManager
|
|||
{
|
||||
//Set Exceptionhandler
|
||||
Thread.setDefaultUncaughtExceptionHandler(new TopLevelExceptionHandler());
|
||||
|
||||
// UIManager.setLookAndFeel("com.jtattoo.plaf.graphite.GraphiteLookAndFeel");
|
||||
// Set System L&F
|
||||
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
|
||||
}
|
||||
catch (UnsupportedLookAndFeelException | ClassNotFoundException | InstantiationException | IllegalAccessException e)
|
||||
catch (Exception e)
|
||||
{
|
||||
ExceptionHandler.handleException(e, "Startup failure");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue