Distance in the Coordinate Plane

Before clicking the "Show Hint" checkbox in the applet below, take a moment to see[br]if you can figure out a way to calculate the[b] distance between points A & B[/b]. [br][br][b][i]Points A & B are moveable[/i][/b], by the way. [br][br]If you are stuck, click the "Show Hint" checkbox. What appears should trigger your memory.
Questions
1. How do you calculate the horizontal (across) distance between two points?[br]2. How do you calculate the vertical (up or down) distance between two points?[br]3. How do you calculate the diagonal distance between two points?[br]4. Which distance (horizontal, vertical or diagonal) describes the shortest distance between two points?

Information: Distance in the Coordinate Plane