NDT: Fix deprecation

This commit is contained in:
zzz
2018-12-24 13:21:05 +00:00
parent edae8e3e0b
commit 0474876b58

View File

@ -958,8 +958,8 @@ public class Tcpbw100 extends JApplet implements ActionListener {
_chkboxDefaultTest.setSelected(true); _chkboxDefaultTest.setSelected(true);
// 3. configure number of tests // 3. configure number of tests
SpinnerNumberModel model = new SpinnerNumberModel(); SpinnerNumberModel model = new SpinnerNumberModel();
model.setMinimum(new Integer(0)); model.setMinimum(Integer.valueOf(0));
model.setValue(new Integer(1)); model.setValue(Integer.valueOf(1));
_spinnerTestCount.setModel(model); _spinnerTestCount.setModel(model);
_spinnerTestCount.setPreferredSize(new Dimension(60, 20)); _spinnerTestCount.setPreferredSize(new Dimension(60, 20));
_cmboboxDelay = new JComboBox(); _cmboboxDelay = new JComboBox();