if (editingIcon != null) textX += editingIcon.getIconWidth() + 4;  if ((d.width > textX && x >= textX && x <= d.width) && (y >= 0 && y <= d.height)) return true; return false;
return bounds.contains(x, y);
  protected boolean inHitRegion(int x, int y)  {    Dimension d = editingContainer.getPreferredSize();    int textX = offset;        if (editingIcon != null)        textX += editingIcon.getIconWidth() + 4;        if ((d.width > textX && x >= textX && x <= d.width)        && (y >= 0 && y <= d.height))      return true;    return false;  }