title: Can I set a timer on a Java Swing JDialog box to close after a number of milliseconds
body: <p>Hi is it possible to create a Java Swing <code>JDialog</code> box (or an alternative Swing object type), that I can use to alert the user of a certain event and then automatically close the dialog after a delay; <em>without</em> the user having to close the dialog?</p>