Index of /~torsjark/undervisning/java/program/bluej/examples03/clock-display

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory   -  
[TXT]ClockDisplay.java 2003-10-16 14:39 2.2K 
[   ]ClockDisplay.ctxt 2003-10-16 14:39 1.7K 
[TXT]NumberDisplay.java 2003-10-16 14:39 1.7K 
[   ]NumberDisplay.ctxt 2003-10-16 14:39 1.6K 
[   ]ClockDisplay.class 2003-10-16 14:39 1.3K 
[   ]NumberDisplay.class 2003-10-16 14:39 1.0K 
[TXT]README.TXT 2003-10-16 14:39 844  
[   ]bluej.pkh 2003-10-16 14:39 517  
[   ]bluej.pkg 2003-10-16 14:39 517  

Project: clock-display
Authors: David Barnes and Michael Kolling

This project is part of the material for the book

   Objects First with Java - A Practical Introduction using BlueJ
   David J. Barnes and Michael Kolling
   Pearson Education, 2002

It is discussed in chapter 3.

To use this project, cerate an instance of class ClockDisplay. Then inspect this instance
and leave the 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. Was this program 
running in a real clock, it would change the real, physical display hardware instead of
this string. Everything else could be pretty much the same.

Note: This project does not implement adequate handling oof errors.