public void rotateToMouse(final Line line, final Mouse mouse) {
    double _x = mouse.getX();
    double _layoutX = line.getLayoutX();
    double _minus = (_x - _layoutX);
    double _y = mouse.getY();
    double _layoutY = line.getLayoutY();
    double _minus_1 = (_y - _layoutY);
    final double angle = Math.atan2(_minus, _minus_1);
    double _rotate = line.getRotate();
    double _plus = (_rotate + angle);
    line.setRotate(_plus);
  }