@Override
			public void actionPerformed(ActionEvent arg0)
			{
				String txt = ((JTextField) arg0.getSource()).getText();
				try
				{
					int nextMap = Integer.parseInt(txt);
					frame.getLevels().get("level " + selectedLevel).getMaps().get("map " + selectedMap).getNextMapInt().remove(1);
					frame.getLevels().get("level " + selectedLevel).getMaps().get("map " + selectedMap).getNextMapInt().add(1, nextMap);
				}
				catch (NumberFormatException e)
				{
					((JTextField) arg0.getSource()).setText("" +
							frame.getLevels().get("level " + selectedLevel).getMaps().get("map " + selectedMap).getNextMapInt().get(1));
				}
			}