@Override
					public void actionPerformed(ActionEvent arg0)
					{
						String txt = ((JTextField) arg0.getSource()).getText();
						try
						{
							int speed = Integer.parseInt(txt);
							frame.mainPanel2.getSelectedObject().setSpeed((float) (speed / 100.0));
						}
						catch (NumberFormatException e)
						{
							((JTextField) arg0.getSource()).setText("" + (int) (frame.mainPanel2.getSelectedObject().getSpeed() * 100));
						}
					}