public TextField getNumberOfStepsField() {
if (numberOfStepsField == null) {
numberOfStepsField = new TextField();
numberOfStepsField.setText("1");
numberOfStepsField.setPreferredSize(new Dimension(100, 20));
numberOfStepsField.addKeyListener(new KeyListener() {
public void keyPressed(KeyEvent e) {
}