previous | start

Answers

  1. The rectangle would only be painted at the new location when the component is repainted for some other reason, for example, when the frame is resized.
  2. It implements the MouseListener interface, which has five methods.


previous | start