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

Diff of /classpath/java/awt/Canvas.java

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

revision 1.9 by mkoch, Mon Sep 27 15:11:46 2004 UTC revision 1.10 by mkoch, Tue Nov 16 09:59:11 2004 UTC
# Line 119  public class Canvas Line 119  public class Canvas
119     * Repaints the canvas window.  This method should be overridden by     * Repaints the canvas window.  This method should be overridden by
120     * a subclass to do something useful, as this method simply paints     * a subclass to do something useful, as this method simply paints
121     * the window with the background color.     * the window with the background color.
122       *
123       * @param gfx the <code>Graphics</code> to use for painting
124     */     */
125    public void paint(Graphics gfx)    public void paint(Graphics gfx)
126    {    {
# Line 131  public class Canvas Line 133  public class Canvas
133      gfx.fillRect(0, 0, size.width, size.height);      gfx.fillRect(0, 0, size.width, size.height);
134    }    }
135    
   
136    /**    /**
137     * This class provides accessibility support for the canvas.     * This class provides accessibility support for the canvas.
138     */     */

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

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