mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-11-22 11:55:24 +01:00
Added FlatLaf inspector
This commit is contained in:
parent
0d5835c486
commit
bad937829b
@ -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 {
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user