Skip to content

Commit

Permalink
Drop gui color
Browse files Browse the repository at this point in the history
  • Loading branch information
APN-Pucky committed Jul 30, 2022
1 parent 3d52b47 commit b0c8ce3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ dependencies {


implementation group: 'com.formdev', name: 'flatlaf', version: '0.45'
implementation group: 'com.github.weisj', name: 'darklaf-core', version: '2.7.2'
//implementation group: 'com.github.iconloader', name: 'icon-loader', version: '0.0.3'

implementation 'com.github.APN-Pucky:GitJarUpdate:0.0.9'
Expand Down
15 changes: 1 addition & 14 deletions src/main/java/de/neuwirthinformatik/Alexander/TU/util/GUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@
import javax.swing.text.DefaultCaret;
import javax.swing.text.NumberFormatter;

import com.github.weisj.darklaf.LafManager;
import com.github.weisj.darklaf.theme.DarculaTheme;

import de.neuwirthinformatik.Alexander.TU.TU;
import de.neuwirthinformatik.Alexander.TU.Basic.GlobalData;

Expand All @@ -57,17 +54,7 @@ public class GUI {
ex.printStackTrace();
}
}

public static void setLookAndFeel() {
LafManager.install(new DarculaTheme());
/*
* try { BasicLookAndFeel s = new DarculaLaf(); UIManager.setLookAndFeel(s); }
* catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace();
* try { UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
*
* } catch (Exception e2) { e2.printStackTrace(); } }
*/
}


public static void info(String title, String msg) {
JOptionPane pane = new JOptionPane(new JScrollPane(GUI.area(msg)), JOptionPane.INFORMATION_MESSAGE);
Expand Down

0 comments on commit b0c8ce3

Please sign in to comment.