Commit 9125ec35 authored by mrsl2000's avatar mrsl2000

final clock with logic and face:)

parent c189abcf
Pipeline #689 failed with stages
import org.clock.logic.ClockLogic;
import org.clock.ui.ClockUI;
public class Clock {
public static void main(String args[]) throws InterruptedException {
ClockUI dispaly = new ClockUI();
ClockLogic myClock = new ClockLogic();
for (int i=0; i<100; i++) {
myClock.tik(1);
dispaly.setClock(myClock.getHour(), myClock.getMinute(), myClock.getSecond());
Thread.sleep(1000);
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment