Skip to content

Commit

Permalink
update darklaf version (seems to be a bit buggy)
Browse files Browse the repository at this point in the history
  • Loading branch information
GraxCode committed Apr 30, 2020
1 parent 97018fc commit 866c2d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ compileTestJava.options.encoding = 'UTF-8'
javadoc.options.encoding = 'UTF-8'

ext {
darklaf_ver = "2.0.3"
darklaf_ver = "2.1.0"
asm_ver = "8.0.1"
}

Expand Down
3 changes: 2 additions & 1 deletion src/me/nov/threadtear/swing/panel/DecompilerPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import org.objectweb.asm.tree.ClassNode;

import com.github.weisj.darklaf.icons.IconLoader;
import com.github.weisj.darklaf.ui.text.DarkTextUI;

import me.nov.threadtear.decompiler.CFR;
import me.nov.threadtear.swing.textarea.DecompilerTextArea;
Expand All @@ -49,7 +50,7 @@ public DecompilerPanel(ClassNode cn) {
textArea.setText(CFR.decompile(cn));
});
JTextField search = new JTextField();
// search.putClientProperty(DarkTextUI.KEY_DEFAULT_TEXT, "Search...");
search.putClientProperty(DarkTextUI.KEY_DEFAULT_TEXT, "Search...");
search.setPreferredSize(new Dimension(200, reload.getPreferredSize().height));
search.addActionListener(l -> {
try {
Expand Down

0 comments on commit 866c2d4

Please sign in to comment.