title: How to display animation in a JTable cell
body: <p>I am looking for a way to display an animated progress indicator (animated GIF, a rotating wheel rendered through Java2D etc., no preference here) in a table cell until the value that is to be finally displayed has been computed or retrieved.</p>
  
  <p>So far I have just put a static "pending..." text into each cell that is not yet ready to speed up display. As data arrives from a background thread I put it into the appropriate cell and call repaint on the table.</p>
  
  <p>With a static label or image this works fine, but because the cell rendering uses this only as sort of a rubber stamp and does not create separate instances per cell (which of course is a good idea performance-wise) an animated GIF for example does not "play" in the individual cells.</p>
  
  <p>How can I achieve such an effect? It would make for a more "polished" UI than just a simple text.</p>