private void showWord(IIndexWord idxWord, IDictionary dict) {
		StringBuffer sb = new StringBuffer();

		sb.append("<html><body>");

		if (idxWord != null) {
			List<IWordID> wordIDs = idxWord.getWordIDs();
			for (IWordID wordID : wordIDs) {
				IWord word = dict.getWord(wordID);
				sb.append("<h4>");
				sb.append(word.getLemma());
				sb.append("</h4>");
				sb.append("<p>");
				sb.append(word.getSynset().getGloss());
				sb.append("</p>");
				List<IWord> words = word.getSynset().getWords();
				if (words != null && words.size() > 0) {
					sb.append("S: ");
					for (IWord word2 : words) {
						sb.append(word2.getLemma());
						sb.append(", ");
					}
				}
			}
			htmlView.setText(sb.toString());
		}

		sb.append("</body></html>");
	}