previous |
start
Answers
- 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.
- It implements the MouseListener interface, which has five methods.
previous |
start