Understanding Java Chapters 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21
Understanding Java: Chapter 19
These pages contain links to the programs that are developed in Chapter 19. The title of this chapter is: Deriving a class from another class.
Shape.java | A class that represents a two-dimensional geometrical figure |
Circle.java | A class that represents a circle |
Rectangle.java | A class that represents a rectangle |
ShapesCollection.java | A class that stores a collection of Shape s read from a BufferedReader |
ShapesToScreen.java | Reading data about shapes and outputting this to the screen |
Shape.java | A class that represents a two-dimensional geometrical figure |
Circle.java | A class that represents a circle |
Rectangle.java | A class that represents a rectangle |
ShapesToScreen.java | A program that reads some data about shapes and outputs this to the screen |
HelloJComponent.java | A class for an object that can display "Hello world" |
HelloJComponentProg.java | A program that displays a HelloJComponent object |
Shape.java | An abstract class for two-dimensional shapes that has a draw method |
Circle.java | The Circle class is augmented with a draw method |
Rectangle.java | The Rectangle class is augmented with a draw method |
ShapesCollection.java | A class that can store a collection of Shape s created from a BufferedReader |
ShapesJComponent.java | A class for a GUI component that displays a collection of shapes |
ShapesJComponentProg.java | A program that displays the shapes it finds in a file of data |
ExitWindowAdapter.java | A class extending WindowAdapter that exits on closing the window |
PersonInputDialogProg.java | A program that uses PersonInputDialog twice and then compares the two people |
PersonInputDialog.java | A class that presents a dialog box for inputting values about a person |
PersonForm.java | A class that can be used to create a form for a person |
Student.java | The Student interface |
StudentImpl.java | A class that implements the Student interface |
StudentImplProg.java | A program to test the Student interface and the StudentImpl class |
StudentPopImplProg.java | X |
X | X |
X | X |
X | X |
Equality.java | An abstract class that implements equals in terms of compareTo |
barry.cornelius@oucs.ox.ac.uk
.