Removed proposed JSpinner reflection code which
I moved to SimpleSpinner instead.
This commit is contained in:
parent
107b4424b4
commit
8fbb971628
2 changed files with 0 additions and 26 deletions
|
@ -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
|
/** Coming soon: Does what the user desires (via the options he or
|
||||||
she has set) with this SecurityException, one encountered
|
she has set) with this SecurityException, one encountered
|
||||||
during the process of reflection.
|
during the process of reflection.
|
||||||
|
|
|
@ -264,12 +264,6 @@ public class SavantShell extends JFrame
|
||||||
setSize(new Dimension(gs.width, gs.height));
|
setSize(new Dimension(gs.width, gs.height));
|
||||||
setVisible(true);
|
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)
|
public void newSavantWindow(String project, String titleName, URL trn, URL vid, URL abt)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue