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 |
{ |
{ |
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 |
*/ |
*/ |