@Override
  protected void paintSafely(Graphics g) {
    if (SystemInfo.isMacOSCatalina) {
      ((Graphics2D)g).setRenderingHint(RenderingHints.KEY_FRACTIONALMETRICS, RenderingHints.VALUE_FRACTIONALMETRICS_OFF);
    }
    super.paintSafely(g);
  }
@Override
  protected void paintSafely(Graphics g)