An implementation of a popup window using straight painting.
Returns the position of the popup.
Hides the popup.
Repaints the owner of the popup.
Shows the popup at the specified x and y coordinates.