почему нельзя указать this.sleep(1000); в 4й строке
public void run() {
try {
while(!this.isInterrupted()) {
Thread.sleep(1000);
seconds++;
}
} catch (InterruptedException e) {
System.out.println(seconds);
}