Added new improvements
This commit is contained in:
parent
597346e5d8
commit
f456d2195b
@ -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();
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user