I have added a JPanel to a JPanel. The JPanel 'on top' has a tooltip.
If the tooltip is displayed such that the tooltip window is completely within the bounds of the 'upper' JPanel, the area occupied by the tooltip window is not repainted when the tooltip disapears. Can anybody explain why?
The code below demonstrates the problem.
If you run the code: display the tooltip over the grey JPanel. If the tooltip window does not overlap the white JPanel, the repainting
does not occur. If the tooltip touches the white JPanel everything is
[ July 18, 2004: Message edited by: Rich Smyth ]