(Draw an arrow line) Write a static method that draws an arrow line from a starting point to an ending point in a pane using the following method header:
public static void drawArrowLine(double startX, double startY,
double endX, double endY, Pane pane)
Write a test program that randomly draws an arrow line, as shown in Figure 1a.

FIGURE 1 (a) The program displays an arrow line. (b) Exercise14.21 connects the centers of two filled circles. (c) Exercise14.22 connects two circles from their perimeter.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.