com.darwinsys.saw.MoveTimer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of darwinsys-api Show documentation
Show all versions of darwinsys-api Show documentation
Ian Darwin's assorted Java stuff,
assembled as an API.
package com.darwinsys.saw; // "Sharpen the Saw", e.g., look after yourself
// Move every half hour - don't get sedentary
import javax.swing.*;
public class MoveTimer {
public static void main(String[] args) throws Exception {
while (true) {
Thread.sleep (30*60 * 1000);
JOptionPane.showMessageDialog(null, "Move it");
}
}
}