private void loadItem(Item item) {
		if (isModified()) {
			int saveItem = JOptionPane.showConfirmDialog(this, "Modifications will be lost. Do you want to save it?");
			if (saveItem == 0) {
				saveItem();
			}
		}
		this.actualItem = item;
		name.setText(item.getName());
		description.setText(item.getDescription());
		hotkey.setValue(item.getHotkey());
		type.setSelectedItem(item.getType());
		clearTable(bonusTable);
		for (Object[] value : item.getBonusTable().getAllValues()) {
			BonusType type = (BonusType)value[0];
			int itemValue = (int)value[1];
			boolean isPercentage = (boolean)value[2];
			((DefaultTableModel)bonusTable.getModel()).addRow(new Object[]{type, itemValue, isPercentage});
		}
		clearTable(skillTable);
		for (Object[] value : item.getSkillTable().getAllValues()) {
			String name = (String)value[0];
			String description = (String)value[1];
			SkillType type = (SkillType)value[2];
			((DefaultTableModel)skillTable.getModel()).addRow(new Object[]{name, description, type});
		}
	}