private JPanel creatInfoPanel()
	{
		JPanel informationPanel = new JPanel(new BorderLayout());

		JPanel panel = null;
		if (frame.mainPanel2.getSelectedObject() != null)
		{
			if (frame.mainPanel2.getSelectedObject().getObjectType() == EditorObjectType.BLOCK ||
					frame.mainPanel2.getSelectedObject().getObjectType() == EditorObjectType.DEADLYBLOCK)
			{
				panel = new JPanel(new GridLayout(7, 2));
			}
			else if (frame.mainPanel2.getSelectedObject().getObjectType() == EditorObjectType.PLATFORM ||
					frame.mainPanel2.getSelectedObject().getObjectType() == EditorObjectType.DEADLYPLATFORM)
			{
				panel = new JPanel(new GridLayout(8, 2));
			}
			else
			{
				panel = new JPanel(new GridLayout(5, 2));
			}

			JLabel label = new JLabel(frame.mainPanel2.getSelectedObject().toString());
			informationPanel.add(label, BorderLayout.NORTH);

			label = new JLabel("       Width :");
			panel.add(label);
			JTextField field = new JTextField(5);
			field.setText("" + (int) frame.mainPanel2.getSelectedObject().getWidth());
			field.addActionListener(new ActionListener()
			{
				@Override
				public void actionPerformed(ActionEvent arg0)
				{
					String txt = ((JTextField) arg0.getSource()).getText();
					try
					{
						int newWidth = Integer.parseInt(txt);
						frame.mainPanel2.getSelectedObject().setWidth(newWidth);
					}
					catch (NumberFormatException e)
					{
						((JTextField) arg0.getSource()).setText("" + (int) frame.mainPanel2.getSelectedObject().getWidth());
					}
				}
			});
			panel.add(field);

			label = new JLabel("       Height :");
			panel.add(label);
			field = new JTextField(5);
			field.setText("" + (int) frame.mainPanel2.getSelectedObject().getHeight());
			field.addActionListener(new ActionListener()
			{
				@Override
				public void actionPerformed(ActionEvent arg0)
				{
					String txt = ((JTextField) arg0.getSource()).getText();
					try
					{
						int newHeight = Integer.parseInt(txt);
						frame.mainPanel2.getSelectedObject().setHeight(newHeight);
					}
					catch (NumberFormatException e)
					{
						((JTextField) arg0.getSource()).setText("" + (int) frame.mainPanel2.getSelectedObject().getHeight());
					}
				}
			});
			panel.add(field);

			label = new JLabel("       Rotation :");
			panel.add(label);
			field = new JTextField(5);
			field.setText("" + (int) Math.toDegrees(frame.mainPanel2.getSelectedObject().getRotation()));
			field.addActionListener(new ActionListener()
			{
				@Override
				public void actionPerformed(ActionEvent arg0)
				{
					String txt = ((JTextField) arg0.getSource()).getText();
					try
					{
						int rotation = Integer.parseInt(txt);
						frame.mainPanel2.getSelectedObject().setRotation((float) Math.toRadians(rotation));
					}
					catch (NumberFormatException e)
					{
						((JTextField) arg0.getSource()).setText("" + (int) Math.toDegrees(frame.mainPanel2.getSelectedObject().getRotation()));
					}
				}
			});
			panel.add(field);

			label = new JLabel("       X :");
			panel.add(label);
			field = new JTextField(5);
			field.setText("" + (int) frame.mainPanel2.getSelectedObject().getPosition().x);
			field.addActionListener(new ActionListener()
			{
				@Override
				public void actionPerformed(ActionEvent arg0)
				{
					String txt = ((JTextField) arg0.getSource()).getText();
					try
					{
						int pX = Integer.parseInt(txt);
						int pY = (int) frame.mainPanel2.getSelectedObject().getPosition().y;
						frame.mainPanel2.getSelectedObject().setPosition(new Point2D.Float(pX, pY));
						frame.mainPanel2.getSelectedObject().setEndPosition(new Point2D.Float(pX, pY));
					}
					catch (NumberFormatException e)
					{
						((JTextField) arg0.getSource()).setText("" + (int) frame.mainPanel2.getSelectedObject().getPosition().x);
					}
				}
			});
			panel.add(field);

			label = new JLabel("       Y :");
			panel.add(label);
			field = new JTextField(5);
			field.setText("" + (int) frame.mainPanel2.getSelectedObject().getPosition().y);
			field.addActionListener(new ActionListener()
			{
				@Override
				public void actionPerformed(ActionEvent arg0)
				{
					String txt = ((JTextField) arg0.getSource()).getText();
					try
					{
						int pY = Integer.parseInt(txt);
						int pX = (int) frame.mainPanel2.getSelectedObject().getPosition().x;
						frame.mainPanel2.getSelectedObject().setPosition(new Point2D.Float(pX, pY));
						frame.mainPanel2.getSelectedObject().setEndPosition(new Point2D.Float(pX, pY));
					}
					catch (NumberFormatException e)
					{
						((JTextField) arg0.getSource()).setText("" + (int) frame.mainPanel2.getSelectedObject().getPosition().y);
					}
				}
			});
			panel.add(field);

			if (frame.mainPanel2.getSelectedObject().getObjectType() == EditorObjectType.PLATFORM ||
					frame.mainPanel2.getSelectedObject().getObjectType() == EditorObjectType.DEADLYPLATFORM)
			{
				label = new JLabel("       Starting X :");
				panel.add(label);
				field = new JTextField(5);
				field.setText("" + (int) frame.mainPanel2.getSelectedObject().getStartPosition().x);
				field.addActionListener(new ActionListener()
				{
					@Override
					public void actionPerformed(ActionEvent arg0)
					{
						String txt = ((JTextField) arg0.getSource()).getText();
						try
						{
							int sX = Integer.parseInt(txt);
							float sY = frame.mainPanel2.getSelectedObject().getStartPosition().y;
							frame.mainPanel2.getSelectedObject().setStartPosition(new Point2D.Float(sX, sY));
						}
						catch (NumberFormatException e)
						{
							((JTextField) arg0.getSource()).setText("" + (int) frame.mainPanel2.getSelectedObject().getStartPosition().x);
						}
					}
				});
				panel.add(field);

				label = new JLabel("       Starting Y :");
				panel.add(label);
				field = new JTextField(5);
				field.setText("" + (int) frame.mainPanel2.getSelectedObject().getStartPosition().y);
				field.addActionListener(new ActionListener()
				{
					@Override
					public void actionPerformed(ActionEvent arg0)
					{
						String txt = ((JTextField) arg0.getSource()).getText();
						try
						{
							int sY = Integer.parseInt(txt);
							float sX = frame.mainPanel2.getSelectedObject().getStartPosition().x;
							frame.mainPanel2.getSelectedObject().setStartPosition(new Point2D.Float(sX, sY));
						}
						catch (NumberFormatException e)
						{
							((JTextField) arg0.getSource()).setText("" + (int) frame.mainPanel2.getSelectedObject().getStartPosition().y);
						}
					}
				});
				panel.add(field);

				label = new JLabel("       Speed % :");
				panel.add(label);
				field = new JTextField(5);
				field.setText("" + (int) (frame.mainPanel2.getSelectedObject().getSpeed() * 100));
				field.addActionListener(new ActionListener()
				{
					@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));
						}
					}
				});
				panel.add(field);
			}
			if (frame.mainPanel2.getSelectedObject().getObjectType() == EditorObjectType.BLOCK ||
					frame.mainPanel2.getSelectedObject().getObjectType() == EditorObjectType.DEADLYBLOCK)
			{
				label = new JLabel("       Max X Velocity:");
				panel.add(label);
				field = new JTextField(5);
				field.setText("" + (int) frame.mainPanel2.getSelectedObject().getStartPosition().x);
				field.addActionListener(new ActionListener()
				{
					@Override
					public void actionPerformed(ActionEvent arg0)
					{
						String txt = ((JTextField) arg0.getSource()).getText();
						try
						{
							int sX = Integer.parseInt(txt);
							float sY = frame.mainPanel2.getSelectedObject().getStartPosition().y;
							frame.mainPanel2.getSelectedObject().setStartPosition(new Point2D.Float(sX, sY));
						}
						catch (NumberFormatException e)
						{
							((JTextField) arg0.getSource()).setText("" + (int) frame.mainPanel2.getSelectedObject().getStartPosition().x);
						}
					}
				});
				panel.add(field);

				label = new JLabel("       Max Y Velocity:");
				panel.add(label);
				field = new JTextField(5);
				field.setText("" + (int) frame.mainPanel2.getSelectedObject().getStartPosition().y);
				field.addActionListener(new ActionListener()
				{
					@Override
					public void actionPerformed(ActionEvent arg0)
					{
						String txt = ((JTextField) arg0.getSource()).getText();
						try
						{
							int sY = Integer.parseInt(txt);
							float sX = frame.mainPanel2.getSelectedObject().getStartPosition().x;
							frame.mainPanel2.getSelectedObject().setStartPosition(new Point2D.Float(sX, sY));
						}
						catch (NumberFormatException e)
						{
							((JTextField) arg0.getSource()).setText("" + (int) frame.mainPanel2.getSelectedObject().getStartPosition().y);
						}
					}
				});
				panel.add(field);
			}
			informationPanel.add(panel, BorderLayout.CENTER);
		}

		panel = new JPanel(new GridLayout(6, 2));

		JLabel label = new JLabel("");
		panel.add(label);
		label = new JLabel("");
		panel.add(label);

		label = new JLabel("       Next Map");
		panel.add(label);
		label = new JLabel("");
		panel.add(label);

		label = new JLabel("                 North:");
		panel.add(label);
		JTextField field = new JTextField(3);
		field.setText("" + frame.getLevels().get("level " + selectedLevel).getMaps().get("map " + selectedMap).getNextMapInt().get(0));
		field.addActionListener(new ActionListener()
		{
			@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(0);
					frame.getLevels().get("level " + selectedLevel).getMaps().get("map " + selectedMap).getNextMapInt().add(0, nextMap);
				}
				catch (NumberFormatException e)
				{
					((JTextField) arg0.getSource()).setText("" +
							frame.getLevels().get("level " + selectedLevel).getMaps().get("map " + selectedMap).getNextMapInt().get(0));
				}
			}
		});
		panel.add(field);

		label = new JLabel("                 East:");
		panel.add(label);
		field = new JTextField(3);
		field.setText("" + frame.getLevels().get("level " + selectedLevel).getMaps().get("map " + selectedMap).getNextMapInt().get(1));
		field.addActionListener(new ActionListener()
		{
			@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));
				}
			}
		});
		panel.add(field);

		label = new JLabel("                 South:");
		panel.add(label);
		field = new JTextField(3);
		field.setText("" + frame.getLevels().get("level " + selectedLevel).getMaps().get("map " + selectedMap).getNextMapInt().get(2));
		field.addActionListener(new ActionListener()
		{
			@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(2);
					frame.getLevels().get("level " + selectedLevel).getMaps().get("map " + selectedMap).getNextMapInt().add(2, nextMap);
				}
				catch (NumberFormatException e)
				{
					((JTextField) arg0.getSource()).setText("" +
							frame.getLevels().get("level " + selectedLevel).getMaps().get("map " + selectedMap).getNextMapInt().get(2));
				}
			}
		});
		panel.add(field);

		label = new JLabel("                 West:");
		panel.add(label);
		field = new JTextField(3);
		field.setText("" + frame.getLevels().get("level " + selectedLevel).getMaps().get("map " + selectedMap).getNextMapInt().get(3));
		field.addActionListener(new ActionListener()
		{
			@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(3);
					frame.getLevels().get("level " + selectedLevel).getMaps().get("map " + selectedMap).getNextMapInt().add(3, nextMap);
				}
				catch (NumberFormatException e)
				{
					((JTextField) arg0.getSource()).setText("" +
							frame.getLevels().get("level " + selectedLevel).getMaps().get("map " + selectedMap).getNextMapInt().get(3));
				}
			}
		});
		panel.add(field);

		informationPanel.add(panel, BorderLayout.SOUTH);
		return informationPanel;
	}