private static Stroke getStroke(boolean isHovered) {
    if (isHovered) {
      return new BasicStroke(2.0f);
    }
    else {
      return new BasicStroke(1.0f);
    }
  }
private static Stroke getStroke(boolean isHovered)