public void setButtonStatus(int i, int j, Status stat) {

		if (i < size && i >= 0 && j >= 0 && j < size) {
			status[i][j] = stat;

			switch (stat) {
			case DECK:
				buttons[i][j].setIcon(ResourceUtil
						.getIcon(ResourceUtil.RESOURCE_DECK_FIELD));
				break;
			case KILLED:
				buttons[i][j].setIcon(ResourceUtil
						.getIcon(ResourceUtil.RESOURCE_KILLED_FIELD));
				break;
			case MISSED:
				buttons[i][j].setIcon(ResourceUtil
						.getIcon(ResourceUtil.RESOURCE_MISSED_FIELD));
				break;
			default:
				break;
			}
		}

	}