super.update(g);
ComponentPeer p = peer; if (p != null && !(p instanceof LightweightPeer)) g.clearRect(0, 0, getWidth(), getHeight());  paint(g);
  public void update(Graphics g)  {    super.update(g);  }