src/main/java/org/openjfx/ImageListHandlersController.java
private void promptForInput(String hint, String prefixLabel, String defaultValue, Consumer<String> consumer) {
        TextInputDialog textInputDialog = new TextInputDialog(defaultValue);
        textInputDialog.setHeaderText(hint);
        textInputDialog.setTitle("Provide value");
        textInputDialog.setContentText(prefixLabel);
        textInputDialog.showAndWait().ifPresent(consumer);
    }
/**
     * Require for user input
     *
     * @param hint - The help tips
     * @param prefixLabel - The label of the input
     * @param defaultValue - The default value in the input
     * @param consumer - callback on done
     */
Require for user input
@param hint - The help tips
@param prefixLabel - The label of the input
@param defaultValue - The default value in the input
@param consumer - callback on done
Require for user input @param hint - The help tips @param prefixLabel - The label of the input @param defaultValue - The default value in the input @param consumer - callback on done
private void promptForInput(String hint, String prefixLabel, String defaultValue, Consumer<String> consumer) {
        TextInputDialog textInputDialog = new TextInputDialog(defaultValue);
        textInputDialog.setHeaderText(hint);
        textInputDialog.setTitle("Provide value");
        textInputDialog.setContentText(prefixLabel);
        textInputDialog.showAndWait().ifPresent(consumer);
    }
private void promptForInput ( String hint , String prefixLabel , String defaultValue , Consumer < String > consumer ) { TextInputDialog textInputDialog = new TextInputDialog ( defaultValue ) ; textInputDialog . setHeaderText ( hint ) ; textInputDialog . setTitle ( "Provide value" ) ; textInputDialog . setContentText ( prefixLabel ) ; textInputDialog . showAndWait ( ) . ifPresent ( consumer ) ; }
Require for user input
 @param hint - The help tips
 @param prefixLabel - The label of the input
 @param defaultValue - The default value in the input
 @param consumer - callback on done
Require for user input @param hint - The help tips @param prefixLabel - The label of the input @param defaultValue - The default value in the input @param consumer - callback on done