Becuse you did not say which ball need to be tagged. So I suggested use mouseOver.
If you have decided which ball need to be tagged. Just draw a rectangle and a String near the ball (need to be tagged). And redraw each time you refresh the screen.