Added new improvements

This commit is contained in:
Robert Vokac 2024-02-04 18:07:37 +00:00
parent 597346e5d8
commit f456d2195b
No known key found for this signature in database
GPG Key ID: 693D30BEE3329055
2 changed files with 2 additions and 2 deletions

View File

@ -359,7 +359,7 @@ public class TimeCalcManager {
// } );
window.setSize(520 + 20 + 100, exitButton.getY() + 3 * exitButton.getHeight() + MARGIN);
while (true) {
//time.writeString();
time.writeString();
if(Math.random() > 0.95) {
window.requestFocus();
}

View File

@ -49,7 +49,7 @@ public class Time extends Thread {
dayOfWeekReadWriteProperty
.setValue(dayOfWeek == 1 ? 7 : dayOfWeek - 1);
try {
Thread.sleep(1);
Thread.sleep(100);
} catch (InterruptedException e) {
System.out.println(e);
}