Received: from PACIFIC-CARRIER-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA20978; Thu, 22 Feb 96 22:46:17 EST
Received: from liquor.cabi.net by MIT.EDU with SMTP
	id AA26958; Thu, 22 Feb 96 22:45:54 EST
Received: by liquor.cabi.net (8.7.3/8.7.3) id LAA18431; Thu, 22 Feb 1996 11:48:25 -0500
Resent-Date: Thu, 22 Feb 1996 11:48:25 -0500
From: gknauth@BBN.COM
Message-Id: <199602221644.LAA18131@liquor.cabi.net>
Date: Thu, 22 Feb 96 11:40:20 EST
To: barn@mcs.com
Cc: java-linux@java.blackdown.org
In-Reply-To: <312BE9D3.682A8363@mcs.com> (message from CrashCup on Wed, 21 Feb
	1996 21:58:11 -0600)
Subject: Re: repaint() problem
Resent-Message-Id: <"YPdw31.0.aR4.pr9Bn"@liquor>
Resent-From: java-linux@java.blackdown.org
X-Mailing-List: <java-linux@java.blackdown.org> archive/latest/1225
X-Loop: java-linux@java.blackdown.org
Precedence: list
Resent-Sender: java-linux-request@java.blackdown.org

Barney,

  Your draw() calls your repaint(); your paint() calls your update().

  I think you should call repaint() when you want instead to call draw().
  repaint() will call update(), which you can override, to reduce flicker.
  update() calls paint().

Geoffrey

