Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a simple GUI application using labels, text fields and buttons that implements a program that parodies a psychotherapist session. Create a simple GUI application
Create a simple GUI application using labels, text fields and buttons that implements a program that parodies a psychotherapist session.
Create a simple GUI application using labels, text fields and buttons that implements a program that parodies a psychotherapist session .In the program, the user types sentences and the program uses those words to compose a question. .Your JAVA program should ask the user for at least 10 questions based on the user's answers. Finally end the session with a Goodbye message .Be creative while forming your questions. Example: 1. 2. 3. 4. The initial text for the question label should read: "What would you like to talk about?" When the user enters some text, find the largest word, say X. The user clicks a button to submit their answer. In response, create a question based on the length of the word. If the word is of length 4, the new question is "Tell me more about X" o oIf the word is of length 5, the new question is "Why do you think X is important? o If the word is of length 6 or more, the new question is "Now we are getting somewhere. How does X affect you the most?" If the word is no word of length 4, the new question is "Maybe we should move on. Is there something else you would like to talk about?" Create a simple GUI application using labels, text fields and buttons that implements a program that parodies a psychotherapist session .In the program, the user types sentences and the program uses those words to compose a question. .Your JAVA program should ask the user for at least 10 questions based on the user's answers. Finally end the session with a Goodbye message .Be creative while forming your questions. Example: 1. 2. 3. 4. The initial text for the question label should read: "What would you like to talk about?" When the user enters some text, find the largest word, say X. The user clicks a button to submit their answer. In response, create a question based on the length of the word. If the word is of length 4, the new question is "Tell me more about X" o oIf the word is of length 5, the new question is "Why do you think X is important? o If the word is of length 6 or more, the new question is "Now we are getting somewhere. How does X affect you the most?" If the word is no word of length 4, the new question is "Maybe we should move on. Is there something else you would like to talk aboutStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started