first commit
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
Project: clock-display
|
||||
Authors: David Barnes and Michael Kölling
|
||||
|
||||
This project is part of the material for the book
|
||||
|
||||
Objects First with Java - A Practical Introduction using BlueJ
|
||||
Sixth edition
|
||||
David J. Barnes and Michael Kölling
|
||||
Pearson Education, 2016
|
||||
|
||||
It is discussed in chapter 3.
|
||||
|
||||
To use this project, create an instance of class ClockDisplay. Then inspect this
|
||||
instance and leave the object inspector window open. With the inspector window open,
|
||||
call the object's methods, such as timeTick and setTime. Watch the
|
||||
"displayString" in the inspector.
|
||||
|
||||
The displayString field simulates the actual clock display device. Were this
|
||||
program running in a real clock, it would change the real, physical display
|
||||
hardware instead of this string. The timeTick method would be triggered once
|
||||
every minute by some timer hardware.
|
||||
|
||||
Everything else could be pretty much the same.
|
||||
|
||||
|
||||
Note: This project does not implement adequate handling of errors.
|
Reference in New Issue
Block a user