Book Description

About the Author

Table of Contents

Source Code

Errata

Send Comments

Teaching Materials

Author's Homepage
 

Object-Oriented Software Development Using Java
Xiaoping Jia, Ph.D
Chapter 9: Design Case Study: A Drawing Pad 

Contents
   9.1 Planning
   9.2 Iteration 1: A Simple Scribble Pad
         9.2.1 The Scribbling Canvas and Its Listener
         9.2.2 The Application
   9.3 Iteration 2: Menus, Options, and Files
         9.3.1 Strokes
         9.3.2 The Scribble Canvas
         9.3.3 The Canvas Listener
         9.3.4 The Application
         9.3.5 Choosing Colors
   9.4 Iteration 3: Refactoring
         9.4.1 The Shapes
         9.4.2 The Tools
         9.4.3 Extending Components
   9.5 Iteration 4: Adding Shapes and Tools
         9.5.1 The Shapes
         9.5.2 The Toolkit
         9.5.3 Design Pattern: State
         9.5.4 A Concrete Tool TwoEndsTool
         9.5.5 Extending Components
         9.5.6 Design Pattern: Factory Method
   9.6 Iteration 5: More Drawing Tools
         9.6.1 Filled Shapes
         9.6.2 Drawing Filled Shapes
         9.6.3 The Application
   9.7 Iteration 6: The Text Tool
         9.7.1 The Text Shape
         9.7.2 The Keyboard Input Tool
         9.7.3 The Font Option Menu


Other Chapters


Book Description - About the Author - Table of Contents
Source Code - Errata - Send Comments
Teaching Materials - Author's Homepage