private void askForItemToUse() {
		UseItemDialog dialog = new UseItemDialog("Choose item to use", 500, 500, objectTron.getActivePlayerInfo().getInventoryItems());

		int answer = dialog.show();
		if (answer == JOptionPane.OK_OPTION) {
			int chosenItemIndex = dialog.getChosenItemIndex();
			ElementInfo chosenItem = objectTron.getActivePlayerInfo().getInventoryItems().get(chosenItemIndex);

			if (IdentityDisc.class.isAssignableFrom(chosenItem.getClass())) {
				ChooseDirectionDialog dirDialog = new ChooseDirectionDialog("Choose the direction", 150, 175);

				answer = dirDialog.show();

				if (answer == JOptionPane.OK_OPTION) {
					try {
						objectTron.useItemAction(chosenItemIndex, dirDialog.getChosenDirection());
					} catch (Exception e) {
						e.printStackTrace();
						showError(e.getClass().getSimpleName(), e.getMessage());
					}
				}
			} else {
				try {
					objectTron.useItemAction(chosenItemIndex);
				} catch (Exception e) {
					e.printStackTrace();
					showError(e.getClass().getSimpleName(), e.getMessage());
				}
			}
		}
	}