velocity=s2.getValue();
int velocity = s2.getValue(); appConfig.setVelocity(velocity);
	                     public void stateChanged(ChangeEvent e) {         	               velocity=s2.getValue();			       t2.setText(new Integer(velocity).toString()); 	                     }});