Removed proposed JSpinner reflection code which

I moved to SimpleSpinner instead.
This commit is contained in:
eg3p 2002-10-25 19:39:32 +00:00
parent 107b4424b4
commit 8fbb971628
2 changed files with 0 additions and 26 deletions

View file

@ -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.

View file

@ -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)