public static URI displayURI(URI u) {
		try {
			Desktop dt = Desktop.getDesktop();

			boolean display = false;
			if (dt != null) {
				if (dt.isSupported(Action.BROWSE)) {
					display = true;
				}
			}

			if (display) {
				dt.browse(u);
			} else {
				logger.warnf("can't browse to %s", u);
			}
		} catch (Throwable e) {
			logger.errorf("exception browsing to %s: %s", u, e);
		}

		return u;
	}