Safer way to set font size
This commit is contained in:
parent
a291fec941
commit
37343ec4e0
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ public class JHexEditor extends JPanel implements FocusListener, AdjustmentListe
|
||||||
|
|
||||||
byte[] buff;
|
byte[] buff;
|
||||||
public int cursor;
|
public int cursor;
|
||||||
protected static Font font = new Font("Monospaced", Font.PLAIN, 12);
|
protected static Font font = new Font(Font.MONOSPACED, Font.PLAIN, 12);
|
||||||
protected int border = 2;
|
protected int border = 2;
|
||||||
public boolean DEBUG = false;
|
public boolean DEBUG = false;
|
||||||
private final JScrollBar sb;
|
private final JScrollBar sb;
|
||||||
|
|
Loading…
Reference in a new issue