public DownloadMonitorPanel(BulkRetrievalThread thread) { this.thread = thread; this.progress = thread.getProgress(); this.initComponents(); this.updateTimer = new Timer( 1000, new ActionListener() { public void actionPerformed(ActionEvent event) { updateStatus(); } }); this.updateTimer.start(); }