JAVA Programming:

Display Stopwatch - time_elapsed float - seconds: float - minutes: int - hours: int - time_elapsed : float - display_time) void - toggle timerO void - reset timer) void + notify button(button_type : Enum) : void + display time) void This class converts the time elapsed to hours, minutes, and seconds Timer StartButton ResetButton - is_pressed boolean - is_pressed boolean - time_elapsed: float - is_running boolean - continue void - pause) void + reset) void + get time) float + toggle_running0 void - listen_for_press0 boolean - notify_pressedO void - listen_for_press) boolear - notify_pressed0 void

Display Stopwatch – time_elapsed float – seconds: float – minutes: int – hours: int – time_elapsed : float – display_time) void – toggle timerO void – reset timer) void + notify button(button_type : Enum) : void + display time) void This class converts the time elapsed to hours, minutes, and seconds Timer StartButton ResetButton – is_pressed boolean – is_pressed boolean – time_elapsed: float – is_running boolean – continue void – pause) void + reset) void + get time) float + toggle_running0 void – listen_for_press0 boolean – notify_pressedO void – listen_for_press) boolear – notify_pressed0 void Show transcribed image text Display Stopwatch – time_elapsed float – seconds: float – minutes: int – hours: int – time_elapsed : float – display_time) void – toggle timerO void – reset timer) void + notify button(button_type : Enum) : void + display time) void This class converts the time elapsed to hours, minutes, and seconds Timer StartButton ResetButton – is_pressed boolean – is_pressed boolean – time_elapsed: float – is_running boolean – continue void – pause) void + reset) void + get time) float + toggle_running0 void – listen_for_press0 boolean – notify_pressedO void – listen_for_press) boolear – notify_pressed0 void