addMouseListener(new MouseAdapter() { public void mouseClicked(MouseEvent e) { int col = columnAtPoint(e.getPoint()); int row = rowAtPoint(e.getPoint()); if (col == Model.LABEL_COL) { Property prop = model.getProperty(row); if (prop != null) { URL url = prop.getHelp(); if (url != null) Browser.setPage(url); } } } });
addMouseListener(new MyMouseAdapter(this));
  public PropertyTable(boolean isEditable) {    model = new Model(isEditable);    setModel(model);    setDefaultRenderer(String.class, model.getCellRenderer());    addMouseListener(new MouseAdapter() {      public void mouseClicked(MouseEvent e) {        int col = columnAtPoint(e.getPoint());        int row = rowAtPoint(e.getPoint());        if (col == Model.LABEL_COL) {          Property prop = model.getProperty(row);          if (prop != null) {            URL url = prop.getHelp();            if (url != null) Browser.setPage(url);          }        }      }    });  }