Skip to content

Commit

Permalink
changed theme back to flatlaf
Browse files Browse the repository at this point in the history
  • Loading branch information
iradraconis committed Sep 27, 2024
1 parent 1c68525 commit 898cb89
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
15 changes: 11 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,18 @@
<version>2.10.1</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>com.formdev</groupId>
<artifactId>flatlaf-intellij-themes</artifactId>
<version>3.5.1</version>
<type>jar</type>
</dependency>





<dependency>
<groupId>com.formdev</groupId>
<artifactId>flatlaf</artifactId>
<version>3.5.1</version>
</dependency>
</dependencies>

<properties>
Expand Down
7 changes: 4 additions & 3 deletions src/main/java/com/iradraconis/jlsync/JLSync.java
Original file line number Diff line number Diff line change
Expand Up @@ -665,11 +665,12 @@
package com.iradraconis.jlsync;


import com.formdev.flatlaf.intellijthemes.FlatMonocaiIJTheme;
import java.net.URL;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.SwingUtilities;
import javax.swing.UIManager;
//import javax.swing.UIManager;

/**
*
Expand All @@ -680,8 +681,8 @@ public class JLSync {
public static void main(String[] args) {
try {
// https://github.com/JFormDesigner/FlatLaf/tree/main/flatlaf-intellij-themes#how-to-use
// FlatMonocaiIJTheme.setup();
UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
FlatMonocaiIJTheme.setup();
//UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
} catch (Exception e) {
e.printStackTrace();
}
Expand Down

0 comments on commit 898cb89

Please sign in to comment.