private void showSaveInfo(long saveTime) { File productFile = getTargetProductSelector().getModel().getProductFile(); final String message = MessageFormat.format( "<html>The target product has been successfully written to<br>{0}<br>" + "Total time spend for processing: {1}", formatFile(productFile), formatDuration(saveTime) ); showSuppressibleInformationDialog(message, "saveInfo"); }
private void showSaveAndOpenInAppInfo(long saveTime) { File productFile = getTargetProductSelector().getModel().getProductFile(); final String message = MessageFormat.format( "<html>The target product has been successfully written to<br>" + "<p>{0}</p><br>" + "and has been opened in {1}.<br><br>" + "Total time spend for processing: {2}<br>", formatFile(productFile), appContext.getApplicationName(), formatDuration(saveTime) ); showSuppressibleInformationDialog(message, "saveAndOpenInAppInfo"); }