void showProperties(Tile t) {
		propertyTile = t;

		if (t != null) {
			userText.setText(t.getInfo());
			tileNumber.setValue(new Integer(t.getNumber()));
			tileName.setText(t.getName());
			tileType.setText(t.getType());
			tileImg.setIcon(new ImageIcon(t.getImage()));

			applyBtn.setEnabled(true);
			deleteBtn.setEnabled(true);
			userText.setEditable(true);
			tileNumber.setEnabled(true);
			tileName.setEditable(true);
			tileType.setEditable(true);
		} else {
			userText.setText("");
			tileNumber.setValue(new Integer(0));
			tileName.setText("Null (Erases existing tiles)");
			tileType.setText("");
			tileImg.setIcon(null);

			userText.setEditable(false);
			tileNumber.setEnabled(false);
			tileName.setEditable(false);
			tileType.setEditable(false);
			applyBtn.setEnabled(false);
			deleteBtn.setEnabled(false);
		}

		propertiesDialog.pack();
		propertiesDialog.setVisible(true);

	}