src/main/java/eu/digitisation/input/GUI.java
public boolean confirm(String message) {
        return JOptionPane.showConfirmDialog(super.getRootPane(),
                message, message, JOptionPane.YES_NO_OPTION)
                == JOptionPane.YES_OPTION;
    }
/**
     * Ask for confirmation
     * @param message the text to be displayed
     * @return true if the option has been confirmed
     */
Ask for confirmation
@param message the text to be displayed
@return true if the option has been confirmed
Ask for confirmation @param message the text to be displayed @return true if the option has been confirmed
public boolean confirm(String message) {
        return JOptionPane.showConfirmDialog(super.getRootPane(),
                message, message, JOptionPane.YES_NO_OPTION)
                == JOptionPane.YES_OPTION;
    }
public boolean confirm ( String message ) { return JOptionPane . showConfirmDialog ( super . getRootPane ( ) , message , message , JOptionPane . YES_NO_OPTION ) == JOptionPane . YES_OPTION ; }
Ask for confirmation
 @param message the text to be displayed
 @return true if the option has been confirmed
Ask for confirmation @param message the text to be displayed @return true if the option has been confirmed