private void viewSelectedComment() {
		if (table == null)
			return;
		final int row = table.getSelectedRow();
		if (row < 0)
			return;
		final int id = ((Integer) table.getValueAt(row, 0)).intValue();
		URL u = null;
		try {
			u = new URL(Modeler.getContextRoot() + "comment?client=mw&action=view&primarykey=" + id);
		}
		catch (MalformedURLException e) {
			e.printStackTrace();
			return;
		}
		URLConnection conn = ConnectionManager.getConnection(u);
		if (conn == null)
			return;
		InputStreamReader reader = null;
		StringBuffer sb = new StringBuffer();
		int c;
		try {
			reader = new InputStreamReader(conn.getInputStream());
			while ((c = reader.read()) != -1)
				sb.append((char) c);
		}
		catch (IOException e) {
			e.printStackTrace();
		}
		finally {
			if (reader != null) {
				try {
					reader.close();
				}
				catch (IOException iox) {
				}
			}
		}
		viewComment(new String(sb));
	}