/** * Reshape the receiver. The offscreen Image is destroyed, the component is laid out and * repainted. * * @see java.awt.Component * @see layoutComponent */ public void setBounds(int x, int y, int width, int height) { super.setBounds(x, y, width, height); layoutComponent(); repaint(); }