title: Swing repainting
body: <p>I'm having an animation on a JComponent.  The animation is simply a BufferedImage on which ç draw something that is moving.  To make BufferedImage appear/disappear progressively, i'm calling repaint with a clip area that is smaller than the width of my JComponent.
  The problem i've got, is that when swing has to repaint the component it draws the BufferedImage outside of my clipping area bounds.
  How can i improve this ?
  Thanks for help.</p>