In a Java program, I am using a custom renderer for cells in a JTable. On this renderer I set a tooltip, for which the content depends on the current cell.
When the values are different, the tooltip is updated, and will appear next to the mouse pointer, over the cell.
However, when the text for this tooltip is identical when changing cell (it happens that a few cells have the same text for tooltip), the TooltipManager considers that the tooltip hasn't changed, and it leaves the previous one, on the previous position.
Does someone knows how to make it so that the tooltip would be updated on each cell, even with identical values?