Patch: Fix painting of lightweight AWT children

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I saw Roman already said these changes look OK. And as you suggested on
> classpath-patches with respect to the LightweightPeer changes that
> Lillian proposed it would be good if Lillian incorporated these changes
> in her patch.

Thanks.  That would be great.

> > +  public void repaint(long tm, int x, int y, int width, int height)
> > +  {
> > +    Component p = comp.getParent ();
> > +    if(p != null)
> > +      p.repaint(0,x+comp.getX(),y+comp.getY(),width,height);
> > +  }
> 
> Why do you discard the tm argument when passing repaint to the parent?

Oops -- good spotting.  I've posted an update on the patches list.

> Cheers,
> 
> Mark



[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux