From cef7106cb022aed276eeacc2c7028ed69340764e Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 1 Jun 2009 16:11:45 +0200 Subject: [PATCH] =?utf8?q?Don=E2=80=99t=20set=20start=20time=20when=20befo?= =?utf8?q?re=20the=20upload=20starts.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/de/todesbaum/jsite/gui/ProjectInsertPage.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/de/todesbaum/jsite/gui/ProjectInsertPage.java b/src/de/todesbaum/jsite/gui/ProjectInsertPage.java index 63eaf49..5fe946e 100644 --- a/src/de/todesbaum/jsite/gui/ProjectInsertPage.java +++ b/src/de/todesbaum/jsite/gui/ProjectInsertPage.java @@ -254,12 +254,12 @@ public class ProjectInsertPage extends TWizardPage implements InsertListener, Cl * {@inheritDoc} */ public void projectInsertStarted(final Project project) { - startTime = System.currentTimeMillis(); + SwingUtilities.invokeLater(new Runnable() { @SuppressWarnings("synthetic-access") public void run() { - startTimeLabel.setText(DateFormat.getDateTimeInstance().format(new Date(startTime))); + startTimeLabel.setText(DateFormat.getDateTimeInstance().format(new Date())); } }); } -- 2.7.4