protected void paint(Graphics g) { super.paint(g); invalidate(); int width = bmp.getWidth(); g.drawBitmap(getContentLeft(), getContentTop(), width, bmp.getHeight(), bmp, 0, 0); }