| java.lang.Object org.acm.seguin.awt.Question
Question | public class Question (Code) | | Asks the user a yes no question. Has the capability of automatically
answering yes for junit tests.
author: Chris Seguin |
isYes | public static boolean isYes(String title, String question)(Code) | | Asks the user a question and returns true if the answer is yes
Parameters: title - The title of the message displayed to the user Parameters: question - The question that we asked of the user true if they answered yes |
setAlwaysYes | public static void setAlwaysYes(boolean way)(Code) | | Determines if we should always answer yes to any question
Parameters: way - true if we should always answer yes |
|
|