Made CPD dialog box nicer still

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3945 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Tom Copeland
2005-10-25 21:42:19 +00:00
parent 5479bde39c
commit a347433284

View File

@ -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);
}