private void saveItem() {
		if (name.getText().trim().equals("")) return;
		if (actualItem != null) {
			ItemControl.remove(actualItem);
		}
		String itemName = name.getText();
		String itemDescription = description.getText();
		String itemHotkey = (String)hotkey.getValue();
		ItemType itemType = (ItemType)type.getSelectedItem();
		Item item = new Item(itemName, itemDescription, itemHotkey, itemType);
		for (int i = 0; i < bonusTable.getRowCount(); i++) {
			BonusType bonusType = (BonusType)bonusTable.getValueAt(i, 0);
			int bonusValue = (int)bonusTable.getValueAt(i, 1);
			boolean bonusPercentage = (boolean)bonusTable.getValueAt(i, 2);
			item.getBonusTable().add(bonusType, bonusValue, bonusPercentage);
		}
		for (int i = 0; i < skillTable.getRowCount(); i++) {
			String skillName = (String)skillTable.getValueAt(i, 0);
			String skillDescription = (String)skillTable.getValueAt(i, 1);
			SkillType skillType = (SkillType)skillTable.getValueAt(i, 2);
			item.getSkillTable().add(skillName, skillDescription, skillType);
		}
		ItemControl.add(item);
		actualItem = item;
		updateList();
	}