question: private void computeTipVisibleBounds ( ) { Rectangle r = tipWindow . getBounds ( ) ; Point p = r . getLocation ( ) ; SwingUtilities . convertPointFromScreen ( p , textArea ) ; r . setLocation ( p ) ; tipVisibleBounds . setBounds ( r . x , r . y - 15 , r . width , r . height + 15 * 2 ) ; }
target:  Compute the bounds in which the user can move the mouse without the tip window disappearing.