private static void setStatusText(Project project, List<VirtualFile> files) {
    if (!files.isEmpty()) {
      StatusBar statusBar = WindowManager.getInstance().getStatusBar(project);
      if (statusBar != null) {
        StringBuilder fileNames = new StringBuilder();
        for (VirtualFile file : files) {
          if (!fileNames.isEmpty()) fileNames.append(", ");
          fileNames.append("'").append(file.getName()).append("'");
        }
        String time = DateFormatUtil.formatTimeWithSeconds(Clock.getTime());
        String statusText = JavaCompilerBundle.message("status.text.file.has.been.packaged", files.size(), fileNames, time);
        statusBar.setInfo(statusText);
      }
    }
  }
private static void setStatusText(Project project, List<VirtualFile> files)