src/main/java/org/openjfx/NotificationController.java
public void informResult(boolean isAllSuccess, File outputDirectory) {

        HBox generateContainerHBox = new HBox();
        VBox msgContainerVBox = new VBox();

        generateContainerHBox.setAlignment(Pos.CENTER);

        String savedFolder = outputDirectory.getAbsolutePath();

        Text msgText = new Text(
                isAllSuccess
                        ? "All done. "
                        + (

                        imageState.imageFileList.size() > 1
                                ? imageState.imageFileList.size() + " images(" + imageState.convertFormat + ") are"
                                : imageState.imageFileList.size() + " image(" + imageState.convertFormat + ")  is")
                        + " saved in "
                        : "Some images could not be converted. Please check "
        );

        String filterDisplay = imageState.convertFilterParamsDisplay.size() > 0
                ? "Applied filter(s): " + imageState.convertFilterParamsDisplay.toString()
                : "";

        Hyperlink folderPathText = new Hyperlink(savedFolder);

        folderPathText.setOnMouseClicked(mouseEvent -> {
            App.openFile(outputDirectory);
        });

        folderPathText.setUnderline(true);

        Button openDirectoryNode = new Button("Open");
        openDirectoryNode.getStyleClass().addAll("btn", "btn-default");
        openDirectoryNode.setOnAction(event -> {
            App.openFile(outputDirectory);
        });

        msgContainerVBox.getChildren().addAll(
                msgText,
                folderPathText,
                new Text(filterDisplay)

        );

        generateContainerHBox.getChildren().addAll(
                msgContainerVBox,
                NodeUtil.getPaddingNode(),
                openDirectoryNode
        );

        if (isAllSuccess) {
            this.notifyInfo(generateContainerHBox);
        } else {
            this.notifyWarn(generateContainerHBox);
        }

    }
/**
     * Show the result
     * @param isAllSuccess - if false, some image converting failed
     * @param outputDirectory - Image saving folder
     */
Show the result
@param isAllSuccess - if false, some image converting failed
@param outputDirectory - Image saving folder
Show the result @param isAllSuccess - if false some image converting failed @param outputDirectory - Image saving folder
public void informResult(boolean isAllSuccess, File outputDirectory) {
        HBox generateContainerHBox = new HBox();
        VBox msgContainerVBox = new VBox();
        generateContainerHBox.setAlignment(Pos.CENTER);
        String savedFolder = outputDirectory.getAbsolutePath();
        Text msgText = new Text(
                isAllSuccess
                        ? "All done. "
                        + (
                        imageState.imageFileList.size() > 1
                                ? imageState.imageFileList.size() + " images(" + imageState.convertFormat + ") are"
                                : imageState.imageFileList.size() + " image(" + imageState.convertFormat + ")  is")
                        + " saved in "
                        : "Some images could not be converted. Please check "
        );
        String filterDisplay = imageState.convertFilterParamsDisplay.size() > 0
                ? "Applied filter(s): " + imageState.convertFilterParamsDisplay.toString()
                : "";
        Hyperlink folderPathText = new Hyperlink(savedFolder);
        folderPathText.setOnMouseClicked(mouseEvent -> {
            App.openFile(outputDirectory);
        });
        folderPathText.setUnderline(true);
        Button openDirectoryNode = new Button("Open");
        openDirectoryNode.getStyleClass().addAll("btn", "btn-default");
        openDirectoryNode.setOnAction(event -> {
            App.openFile(outputDirectory);
        });
        msgContainerVBox.getChildren().addAll(
                msgText,
                folderPathText,
                new Text(filterDisplay)
        );
        generateContainerHBox.getChildren().addAll(
                msgContainerVBox,
                NodeUtil.getPaddingNode(),
                openDirectoryNode
        );
        if (isAllSuccess) {
            this.notifyInfo(generateContainerHBox);
        } else {
            this.notifyWarn(generateContainerHBox);
        }
    }
public void informResult ( boolean isAllSuccess , File outputDirectory ) { HBox generateContainerHBox = new HBox ( ) ; VBox msgContainerVBox = new VBox ( ) ; generateContainerHBox . setAlignment ( Pos . CENTER ) ; String savedFolder = outputDirectory . getAbsolutePath ( ) ; Text msgText = new Text ( isAllSuccess ? "All done. " + ( imageState . imageFileList . size ( ) > 1 ? imageState . imageFileList . size ( ) + " images(" + imageState . convertFormat + ") are" : imageState . imageFileList . size ( ) + " image(" + imageState . convertFormat + ")  is" ) + " saved in " : "Some images could not be converted. Please check " ) ; String filterDisplay = imageState . convertFilterParamsDisplay . size ( ) > 0 ? "Applied filter(s): " + imageState . convertFilterParamsDisplay . toString ( ) : "" ; Hyperlink folderPathText = new Hyperlink ( savedFolder ) ; folderPathText . setOnMouseClicked ( mouseEvent -> { App . openFile ( outputDirectory ) ; } ) ; folderPathText . setUnderline ( true ) ; Button openDirectoryNode = new Button ( "Open" ) ; openDirectoryNode . getStyleClass ( ) . addAll ( "btn" , "btn-default" ) ; openDirectoryNode . setOnAction ( event -> { App . openFile ( outputDirectory ) ; } ) ; msgContainerVBox . getChildren ( ) . addAll ( msgText , folderPathText , new Text ( filterDisplay ) ) ; generateContainerHBox . getChildren ( ) . addAll ( msgContainerVBox , NodeUtil . getPaddingNode ( ) , openDirectoryNode ) ; if ( isAllSuccess ) { this . notifyInfo ( generateContainerHBox ) ; } else { this . notifyWarn ( generateContainerHBox ) ; } }
Show the result
 @param isAllSuccess - if false, some image converting failed
 @param outputDirectory - Image saving folder
Show the result @param isAllSuccess - if false some image converting failed @param outputDirectory - Image saving folder