public void itemDrawn(SelectedItem item) {
		selectedItem = item;
		String dimString = "";
		ArrayList<Integer> coords = pPanel.getPaintList()
				.get(pPanel.getPaintList().size() - 1).getCoords();
		for (int i = 0; i < coords.size(); i++) {
			dimString += coords.get(i);
			if (i < coords.size() - 1) {
				dimString += ",";
			}
		}

		switch (selectedItem) {
		case oval:
			model.addRow(new Object[] { "Oval", dimString, "", "", "", "Delete" });
			break;
		case rect:
			model.addRow(new Object[] { "Rectangle", dimString, "", "", "",
					"Delete" });
			break;
		case polygon:
			model.addRow(new Object[] { "Polygon", dimString, "", "", "",
					"Delete" });
		}
	}