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:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user