Animated graphicsCS109 Programming ProjectsDay and NightGraphical LCD Clock

Graphical LCD Clock

The program clock.kt shows the time in large digits inside a window:

Display of clock.kt

Your task is to modify this program to display an LCD Clock instead, something like this (you don't have to show the shadows of the inactive segments, but you can if you like it):

LCD Clock display

The clock should update itself, and the colon should blink with a 1Hz frequency. You can use other colors, or make them selectable from the user interface (bright blue or red on black looks like an LED clock).
Animated graphicsCS109 Programming ProjectsDay and NightGraphical LCD Clock