Use java.util Logging API instead of a debug mode and System.out.
[jSite.git] / src / de / todesbaum / jsite / gui / ProjectInsertPage.java
index 63eaf49..dc82f53 100644 (file)
@@ -209,17 +209,6 @@ public class ProjectInsertPage extends TWizardPage implements InsertListener, Cl
        }
 
        /**
-        * Sets whether to activate the debug mode.
-        *
-        * @param debug
-        *            <code>true</code> to activate the debug mode,
-        *            <code>false</code> to deactivate.
-        */
-       public void setDebug(boolean debug) {
-               projectInserter.setDebug(debug);
-       }
-
-       /**
         * Sets the project to insert.
         *
         * @param project
@@ -254,12 +243,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()));
                        }
                });
        }