previous
|
start
|
next
Encapsulating Computations in JavaBeans
We want to display just the current time, not the whole date
Get the time with the
getTimeInstance
method of the
DateFormat
class
Put this code in a bean class
previous
|
start
|
next