if (!(event instanceof MouseEvent) && inHitRegion(((MouseEvent) event).getX(), ((MouseEvent) event).getY()) && ((MouseEvent) event). getClickCount() == 1)
if ((event instanceof MouseEvent) && ((MouseEvent) event).getClickCount() == 1)
  protected boolean shouldStartEditingTimer(EventObject event)  {    if (!(event instanceof MouseEvent) &&         inHitRegion(((MouseEvent) event).getX(),                     ((MouseEvent) event).getY()) && ((MouseEvent) event).                    getClickCount() == 1)      return true;    return false;  }