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);
}

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 ) ; }
compute the bounds in which the user can move the mouse without the tip window disappearing .
