Write a small application with a GUI that could be the basis of a larger application. Your application will ask the user three questions. You will need three labels for the questions and three corresponding text fields for the user’s answers. When the user presses an Accept button, you should check whether each text area contains a nonempty string. If each does, display the message Your answers have been recorded. on a result label. If not, change the color of the label holding the question for the blank text field to red and display the message You must answer all questions on the result label.
What will be an ideal response?
See the code in Exercise14.java, QuestionaireWindow.java.
Computer Science & Information Technology
You might also like to view...
Shareware is a software program that is given away by the author for others to use free of charge but typically require a small fee if the users choose to use the program regularly.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology
To increase the width of a field in a Base table, the user can either drag or ________ the column border
Fill in the blank(s) with correct word
Computer Science & Information Technology
Which of the following commands display a line of text on the screen?
A. puts B. display C. print D. both a and c
Computer Science & Information Technology
Describe why tape continues to be an important backup medium.
What will be an ideal response?
Computer Science & Information Technology