|
|
|
@ -266,6 +266,8 @@ public class DownLoadDependenceUI implements ActionListener {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private String showFileLength(){ |
|
|
|
|
return totalSize == -1 ? "NAN" : totalSize / Math.pow(10, 6) + ""; |
|
|
|
|
double len = totalSize / Math.pow(10, 6); |
|
|
|
|
String lenStr = String.format("%.2f", len); |
|
|
|
|
return totalSize == -1 ? "NAN" : lenStr; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|