diff --git a/source/org/thdl/savant/JdkVersionHacks.java b/source/org/thdl/savant/JdkVersionHacks.java index f599f8f..26f34fa 100644 --- a/source/org/thdl/savant/JdkVersionHacks.java +++ b/source/org/thdl/savant/JdkVersionHacks.java @@ -183,26 +183,6 @@ public final class JdkVersionHacks { } } - public static Object getJSpinner(Dimension dim, - Object spinnerValue, - int value, int minimum, - int maximum, int stepSize) { - /* In Java 1.4, do the following: - - SpinnerNumberModel snm1 - = new SpinnerNumberModel(value, minimum, maximum, stepSize); - JSpinner spinner = new JSpinner(snm1); - spinner.setPreferredSize(dim); - spinner.setValue(spinnerValue); - return spinner; - */ - /* FIXME; */ - return null; - } - - - - /** Coming soon: Does what the user desires (via the options he or she has set) with this SecurityException, one encountered during the process of reflection. diff --git a/source/org/thdl/savant/SavantShell.java b/source/org/thdl/savant/SavantShell.java index 9da80b4..7288f11 100644 --- a/source/org/thdl/savant/SavantShell.java +++ b/source/org/thdl/savant/SavantShell.java @@ -264,12 +264,6 @@ public class SavantShell extends JFrame setSize(new Dimension(gs.width, gs.height)); setVisible(true); } - - /* Code for JDK 1.3, including Mac OS X - Dimension gs = g.getToolkit().getScreenSize(); - g.setLocation(0,0); - g.setSize(new Dimension(gs.width, gs.height)); - */ } public void newSavantWindow(String project, String titleName, URL trn, URL vid, URL abt)