public void update(Graphics realg) {
	Graphics g = dbimage.getGraphics();
	g.setColor(getBackground());
	g.fillRect(0, 0, winSize.width, winSize.height);
	g.setColor(getForeground());
	if (!ball.inPlay) {
	    g.setFont(scoreFont);
	    FontMetrics fm = g.getFontMetrics();
	    if (paddles[0].score == 0 && paddles[1].score == 0)
		drawBanner(g);
	    else
		for (int i = 0; i != 2; i++) {
        	    String score = Integer.toString(paddles[i].score);
		    g.setColor(paddles[i].scoreColor);
		    centerString(g, fm, score, paddles[i].scorePos);
		}
	}
	for (int i = 0; i != 2; i++)
    	    paddles[i].draw(g);
	ball.draw(g);
	realg.drawImage(dbimage, 0, 0, this);
    }