public class SwingPrompter extends Prompter
| Constructor and Description |
|---|
SwingPrompter() |
public String prompt(String question, String defaultValue) throws InterruptedException
Prompterprompt in class Prompterquestion - The string to be shown to the user. Don't add ':', '?' and so on in the end.InterruptedExceptionpublic String promptPassword(String question) throws InterruptedException
promptPassword in class PrompterInterruptedExceptionCopyright © 2016–2017. All rights reserved.