{ System.out.println("BasicViewportUI->paint->"+c); }
{  JViewport v = (JViewport)c; Component view = v.getView();  if (view == null) return;  Point pos = v.getViewPosition(); Rectangle viewBounds = view.getBounds();  if (backingStoreImage == null || backingStoreWidth != viewBounds.width || backingStoreHeight != viewBounds.height) { backingStoreImage = v.createImage(viewBounds.width, viewBounds.height); backingStoreWidth = viewBounds.width; backingStoreHeight = viewBounds.height; }  Graphics g2 = backingStoreImage.getGraphics(); view.paint(g2); g2 = null; g.drawImage(backingStoreImage, -pos.x, -pos.y, (ImageObserver)null); }
    public void paint(Graphics g, JComponent c)    {      	System.out.println("BasicViewportUI->paint->"+c);    }