Flicker Prevention 1
lClearing the background in update() can create lots of flicker in the application.

lIt is customary to over-ride update() in the customized frame as follows:
public void update(Graphics g)
  {
  paint(g);
  }
l