Question: Source File header: Please help me with above assignment. Make sure to use the Swing.JOptionPane , not other GUI package, such as JavaFX. Make sure

 Source File header: Please help me with above assignment. Make sureto use the Swing.JOptionPane, not other GUI package, such as JavaFX. Makesure that every detail output is correct. Thanks for help. Write a

Graphic User Interface (GUI) based Java program in the source file Vowels.java

that asks the user to enter a sentence and extracts the sentenceusing an input dialog. The program should then display the sentence entered,

Source File header:

the number of characters in the sentence, as well as the counts

Please help me with above assignment.

Make sure to use the Swing.JOptionPane, not other GUI package, such as JavaFX.

Make sure that every detail output is correct.

Thanks for help.

Write a Graphic User Interface (GUI) based Java program in the source file Vowels.java that asks the user to enter a sentence and extracts the sentence using an input dialog. The program should then display the sentence entered, the number of characters in the sentence, as well as the counts for all vowel types in the sentence, using an output dialog. Keep in mind that your program should count both upper and lowercase vowels. Your program should also continue to ask the user if they wish to enter another sentence until the user enters no. Since this is a GUI program, in order to test this program on the OCC server, you will need to connect to a VNC session. Sample Run: VOWELS PROJECT This program asks the user for a sentence, searches the sentence for all vowels, and displays the number of times each vowel appears in the sentence. Enter the sentence to search: Output =(1) Hello There! has 12 characters. There are 0 a's, 3 e's, 0 i's, 1 o's, and 0 u's. OK Whould you like to search another string? (' y ' or ' Y ') Input Enter the sentence to search: supercAlifragillsticexpialidOcious has 34 characters. There are 3as 2es, 7 i's, 2 o's, and 2 u's. Whould you like to search another string? ('y' or ' Y ') // header files for JoptionPane methods import javax. swing. JoptionPane; // declaration of the class public class Vowels \{ // declaration of the main program public static void main(String[] args) \{

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!