The swing questions should probably be posted in the forum for that, but for Date/Time classes you should take a look at java.util.Date and java.util.Calendar.
As two thirds of the questions are to do with Swing, I'm moving this to the Swing / AWT / SWT / JFace forum... [ September 05, 2004: Message edited by: Dirk Schreckmann ]