diff --git a/build.gradle b/build.gradle index 11fa170..d54c7a4 100644 --- a/build.gradle +++ b/build.gradle @@ -71,6 +71,7 @@ dependencies { include "com.google.code.gson:gson:2.10.1" include "com.formdev:flatlaf:3.2.5" + include "com.formdev:flatlaf-extras:3.2.5" include "org.apache.commons:commons-lang3:3.14.0" include "commons-io:commons-io:2.15.1" include "net.sf.jopt-simple:jopt-simple:5.0.4" @@ -103,6 +104,10 @@ dependencies { exclude group: "io.netty" } include "gs.mclo:api:3.0.1" + include "org.lz4:lz4-pure-java:1.8.0" + include("org.iq80.leveldb:leveldb:0.12") { + exclude group: "com.google.guava" + } } sourceSets { diff --git a/src/main/java/net/raphimc/viaproxy/ui/ViaProxyUI.java b/src/main/java/net/raphimc/viaproxy/ui/ViaProxyUI.java index a7e5288..fce6025 100644 --- a/src/main/java/net/raphimc/viaproxy/ui/ViaProxyUI.java +++ b/src/main/java/net/raphimc/viaproxy/ui/ViaProxyUI.java @@ -18,6 +18,7 @@ package net.raphimc.viaproxy.ui; import com.formdev.flatlaf.FlatDarkLaf; +import com.formdev.flatlaf.extras.FlatInspector; import net.lenni0451.lambdaevents.EventHandler; import net.lenni0451.lambdaevents.LambdaManager; import net.lenni0451.lambdaevents.generator.LambdaMetaFactoryGenerator; @@ -64,6 +65,7 @@ public class ViaProxyUI extends JFrame { this.initWindow(); this.initTabs(); + FlatInspector.install("ctrl shift alt X"); ToolTipManager.sharedInstance().setInitialDelay(100); ToolTipManager.sharedInstance().setDismissDelay(10_000); SwingUtilities.updateComponentTreeUI(this);