From 22141248e7575faa10ecd7eea3a80fc875486da7 Mon Sep 17 00:00:00 2001 From: dchandler Date: Sun, 3 Nov 2002 17:05:44 +0000 Subject: [PATCH] Terribly minor cleanup. --- source/org/thdl/tib/input/Jskad.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/source/org/thdl/tib/input/Jskad.java b/source/org/thdl/tib/input/Jskad.java index 5c6e209..dff6ce6 100644 --- a/source/org/thdl/tib/input/Jskad.java +++ b/source/org/thdl/tib/input/Jskad.java @@ -100,12 +100,27 @@ public class Jskad extends JPanel implements DocumentListener { /** the status bar for this frame */ private StatusBar statusBar; + /** Do not use this JPanel constructor. */ + private Jskad() { super(); } + + /** Do not use this JPanel constructor. */ + private Jskad(boolean isDB) { super(isDB); } + + /** Do not use this JPanel constructor. */ + private Jskad(LayoutManager lm) { super(lm); } + + /** Do not use this JPanel constructor. */ + private Jskad(LayoutManager lm, boolean isDB) { super(lm, isDB); } + + /** * @param parent the object that embeds this instance of Jskad. * Supported objects include JFrames and JApplets. If the parent * is a JApplet then the File menu is omitted from the menu bar. */ public Jskad(final Object parent) { + super(); + if (ThdlOptions.getBooleanOption("thdl.Jskad.disable.status.bar")) { statusBar = null; } else { @@ -753,6 +768,8 @@ public class Jskad extends JPanel implements DocumentListener { try { BufferedReader in = new BufferedReader(new FileReader(txt_fileChosen)); DuffPane dp2; + // FIXME: why do we need a whole DuffPane to do this? we + // definitely don't need a status bar... if (ThdlOptions.getBooleanOption(Jskad.enableKeypressStatusProp)) { dp2 = new DuffPane(statusBar); } else {