Interfaces and Polymorphism
Download:
ch04.zip
(source code)
Displaying an Image
Icon Interface
Polymorphism
Drawing Shapes
Rendering our C++
resistor
as a Java Icon class.
The
Comparable
Interface
The
Comparator
Interface
Anonymous Classes
Frames and User Interface Components
User Interface Actions
Timers
Designing an Interface
Reference
Cay S. Horstmann,
Object-Oriented Design & Patterns
, Second Edition, John Wiley, 2006. ISBN 0-471-74487-5. Chapter 4
Maintained by
John Loomis
, last updated
24 February 2007