aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.idea/libraries/github_weisj_darklaf_core.xml10
-rw-r--r--.idea/libraries/github_weisj_darklaf_core1.xml21
-rw-r--r--LibManClient.iml2
-rw-r--r--README.md3
-rw-r--r--src/Main.java13
5 files changed, 40 insertions, 9 deletions
diff --git a/.idea/libraries/github_weisj_darklaf_core.xml b/.idea/libraries/github_weisj_darklaf_core.xml
new file mode 100644
index 0000000..77b4313
--- /dev/null
+++ b/.idea/libraries/github_weisj_darklaf_core.xml
@@ -0,0 +1,10 @@
+<component name="libraryTable">
+ <library name="github.weisj.darklaf.core" type="repository">
+ <properties include-transitive-deps="false" maven-id="com.github.weisj:darklaf-core:2.7.3" />
+ <CLASSES>
+ <root url="jar://$MAVEN_REPOSITORY$/com/github/weisj/darklaf-core/2.7.3/darklaf-core-2.7.3.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+</component> \ No newline at end of file
diff --git a/.idea/libraries/github_weisj_darklaf_core1.xml b/.idea/libraries/github_weisj_darklaf_core1.xml
new file mode 100644
index 0000000..f027391
--- /dev/null
+++ b/.idea/libraries/github_weisj_darklaf_core1.xml
@@ -0,0 +1,21 @@
+<component name="libraryTable">
+ <library name="github.weisj.darklaf.core1" type="repository">
+ <properties maven-id="com.github.weisj:darklaf-core:2.7.3" />
+ <CLASSES>
+ <root url="jar://$MAVEN_REPOSITORY$/com/github/weisj/darklaf-core/2.7.3/darklaf-core-2.7.3.jar!/" />
+ <root url="jar://$MAVEN_REPOSITORY$/com/github/weisj/darklaf-theme/2.7.3/darklaf-theme-2.7.3.jar!/" />
+ <root url="jar://$MAVEN_REPOSITORY$/com/github/weisj/darklaf-property-loader/2.7.3/darklaf-property-loader-2.7.3.jar!/" />
+ <root url="jar://$MAVEN_REPOSITORY$/com/github/weisj/swing-extensions-visual-padding/0.1.3/swing-extensions-visual-padding-0.1.3.jar!/" />
+ <root url="jar://$MAVEN_REPOSITORY$/org/jetbrains/annotations/16.0.2/annotations-16.0.2.jar!/" />
+ <root url="jar://$MAVEN_REPOSITORY$/com/github/weisj/darklaf-utils/2.7.3/darklaf-utils-2.7.3.jar!/" />
+ <root url="jar://$MAVEN_REPOSITORY$/com/github/weisj/darklaf-native-utils/2.7.3/darklaf-native-utils-2.7.3.jar!/" />
+ <root url="jar://$MAVEN_REPOSITORY$/com/github/weisj/darklaf-platform-base/2.7.3/darklaf-platform-base-2.7.3.jar!/" />
+ <root url="jar://$MAVEN_REPOSITORY$/com/github/weisj/darklaf-windows/2.7.3/darklaf-windows-2.7.3.jar!/" />
+ <root url="jar://$MAVEN_REPOSITORY$/com/github/weisj/darklaf-macos/2.7.3/darklaf-macos-2.7.3.jar!/" />
+ <root url="jar://$MAVEN_REPOSITORY$/com/github/weisj/swing-extensions-laf-support/0.1.3/swing-extensions-laf-support-0.1.3.jar!/" />
+ <root url="jar://$MAVEN_REPOSITORY$/com/formdev/svgSalamander/1.1.2.4/svgSalamander-1.1.2.4.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+</component> \ No newline at end of file
diff --git a/LibManClient.iml b/LibManClient.iml
index 8e8e467..2fc64d0 100644
--- a/LibManClient.iml
+++ b/LibManClient.iml
@@ -8,5 +8,7 @@
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="io.socket.client" level="project" />
+ <orderEntry type="library" name="github.weisj.darklaf.core" level="project" />
+ <orderEntry type="library" name="github.weisj.darklaf.core1" level="project" />
</component>
</module> \ No newline at end of file
diff --git a/README.md b/README.md
index 5a2c78b..12c8e11 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@ See Also: [LibMan](/LibMan/about)
## What it is
-This thing is the client side app with a Swing GUI for my LibMan project.
+This thing is the client side app with a Swing GUI for my LibMan project.
You can connect to any LibMan instance through Socket.IO and sign up/log in
to look at and issue/return the available books.
@@ -15,6 +15,7 @@ It's a pretty basic project but since I hate Java with a passion it was very har
to write so I'm releasing is as GPL. Don't cheat on your homework, folks
# License
+
Licenced under GNU General Public Licence
GNU GPL License: [LICENSE](LICENSE)
diff --git a/src/Main.java b/src/Main.java
index c02430a..3ee4764 100644
--- a/src/Main.java
+++ b/src/Main.java
@@ -1,18 +1,15 @@
import UI.MainWindow;
+import com.github.weisj.darklaf.LafManager;
+import com.github.weisj.darklaf.theme.SolarizedLightTheme;
-import javax.swing.*;
import java.awt.*;
public class Main {
public static void main(String[] args) {
- try {
- UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
- }
- catch (UnsupportedLookAndFeelException | ClassNotFoundException | InstantiationException |
- IllegalAccessException _) {
- }
-
EventQueue.invokeLater(() -> {
+ LafManager.setTheme(new SolarizedLightTheme());
+ LafManager.install();
+
MainWindow w = new UI.MainWindow();
w.setVisible(true);
});