CONTENTS

Scrolling the canvas.

The DrawingCanvas applet has not built-in scroll capabilities however you can use HTML tag <div> with the style property overflow for scrolling.

Example:

Corresponding DHTML code

<div style="overflow:auto;width:400;height:300;">
    <applet width="640" height="480" code="DrawCanvas.class"
	codebase="../applet" archive="painter.jar" name="canvas" >
    </applet>
</div>