From 30bf371101f5864d6b4c016ef5cb7bf8d0d18487 Mon Sep 17 00:00:00 2001 From: Konloch Date: Wed, 21 Jul 2021 05:02:32 -0700 Subject: [PATCH] Code Cleanup --- .../club/bytecodeviewer/gui/util/BytecodeViewPanelUpdater.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/gui/util/BytecodeViewPanelUpdater.java b/src/main/java/the/bytecode/club/bytecodeviewer/gui/util/BytecodeViewPanelUpdater.java index 58139322..ba67d649 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/gui/util/BytecodeViewPanelUpdater.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/gui/util/BytecodeViewPanelUpdater.java @@ -96,8 +96,6 @@ public class BytecodeViewPanelUpdater implements Runnable SwingUtilities.invokeLater(() -> { final JHexEditor hex = new JHexEditor(cw.toByteArray()); - hex.setFont(new Font(Font.MONOSPACED, Font.PLAIN, BytecodeViewer.viewer.getFontSize())); - bytecodeViewPanel.add(hex); }); } @@ -374,6 +372,5 @@ public class BytecodeViewPanelUpdater implements Runnable String editable = isPanelEditable ? " - " + EDITABLE : ""; bytecodeViewPanel.textArea.getTitleHeader().setText(decompiler.getDecompilerName() + editable); - bytecodeViewPanel.textArea.setFont(new Font(Font.MONOSPACED, Font.PLAIN, BytecodeViewer.viewer.getFontSize())); } } \ No newline at end of file