Code Cleanup

This commit is contained in:
Konloch 2021-07-21 05:02:32 -07:00
parent 075cbd1012
commit 30bf371101

View file

@ -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()));
}
}