/[classpath]/classpath/java/awt/Container.java
ViewVC logotype

Diff of /classpath/java/awt/Container.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.39 by mark, Sat Sep 4 17:14:00 2004 UTC revision 1.40 by mkoch, Wed Sep 22 11:03:10 2004 UTC
# Line 527  public class Container extends Component Line 527  public class Container extends Component
527    /**    /**
528     * Recursively invalidates the container tree.     * Recursively invalidates the container tree.
529     */     */
530    private void invalidateTree()    void invalidateTree()
531    {    {
532      for (int i = 0; i < ncomponents; i++)      for (int i = 0; i < ncomponents; i++)
533        {        {
# Line 704  public class Container extends Component Line 704  public class Container extends Component
704    {    {
705      if (!isShowing())      if (!isShowing())
706        return;        return;
707        // Paint self first.
708        super.paint(g);
709      // Visit heavyweights as well, in case they were      // Visit heavyweights as well, in case they were
710      // erased when we cleared the background for this container.      // erased when we cleared the background for this container.
711      visitChildren(g, GfxPaintVisitor.INSTANCE, false);      visitChildren(g, GfxPaintVisitor.INSTANCE, false);

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26