}
@Override
public void update(Observable o, Object arg) {
if(arg instanceof Clock) {
Clock clock = (Clock) arg;
hour.setText(String.valueOf(format.format(clock.getHours())));
minute.setText(String.valueOf(format.format(clock.getMinutes())));
} else if(arg instanceof HourAdjustState) {
hour.setForeground(Color.GRAY);
hour.setFont(fontEditing);
} else if(arg instanceof MinuteAdjustState) {