private void drawLine(float x1, int y1, float x2, int y2, boolean rounded) {
      if (rounded) {
        UIUtil.drawLinePickedOut(myGraphics, (int)x1, y1, (int)x2, y2);
      }
      else {
        LinePainter2D.paint(myGraphics, (int)x1, y1, (int)x2, y2);
      }
    }
private void drawLine(float x1, int y1, float x2, int y2, boolean rounded)