Write a GUI based program that analyzes a word. THe user will type the word in a text field. Provide buttons for the following:
- One button, when clicked, displays the length of the word
- Another button, when clicked, displays the number of vowels in the word
- Another button, when clicked, displays the number of upper case letters in the word
For this, you should design and code a separate (non-GUI) class encapsulating a word and its analysis, then instantiate an object of that class inside your GUI class and call the various methods as needed.
*Extra Notes
Be sure that you follow the projects suggestion and create a separate class for the word analysis. An instance of this class and its methods should then be called by your GUI interface.
Your solution must include a comment block at the top of the code that includes
- your name as the program author
- the date the program was written (typically the due date or submission date)
- a brief description of the program
Your solution must demonstrate appropriate documentation. You should strive to select identifier names that make your code as self-documenting as possible.