private boolean shouldPaintLines() {
    if (UIUtil.isUnderAquaBasedLookAndFeel() || StartupUiUtil.isUnderDarcula() || UIUtil.isUnderIntelliJLaF()) {
      return false;
    }
    return !"None".equals(tree.getClientProperty("JTree.lineStyle"));
  }
private boolean shouldPaintLines()