From a3474332843cf4efce6fedef19238894287ab28d Mon Sep 17 00:00:00 2001 From: Tom Copeland Date: Tue, 25 Oct 2005 21:42:19 +0000 Subject: [PATCH] Made CPD dialog box nicer still git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3945 51baf565-9d33-0410-a72c-fc3788e3496d --- pmd-jbuilder/src/net/sourceforge/pmd/jbuilder/CPDDialog.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pmd-jbuilder/src/net/sourceforge/pmd/jbuilder/CPDDialog.java b/pmd-jbuilder/src/net/sourceforge/pmd/jbuilder/CPDDialog.java index 708e0ce4f1..174016b433 100644 --- a/pmd-jbuilder/src/net/sourceforge/pmd/jbuilder/CPDDialog.java +++ b/pmd-jbuilder/src/net/sourceforge/pmd/jbuilder/CPDDialog.java @@ -38,11 +38,11 @@ public class CPDDialog extends JFrame implements CPDListener, WindowListener { public void addedFile(int fileCount, File file) { if (firstFile) { firstFile = false; - label.setText("Adding files"); - progressBar.setString(file.getName()); + label.setText("Adding file " + file.getName()); progressBar.setMaximum(fileCount); progress = 0; } + label.setText("Adding file " + file.getName()); progressBar.setValue(++progress); }