Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Java GUI Application Testing (Not an Applet) Create a Java GUI application named

ID: 3676825 • Letter: J

Question

Java GUI Application Testing (Not an Applet)

Create a Java GUI application named VowelApplication.java. You program must be able to count the a, e, i, o, u, A, E, I, O, and U in the typed text in the text area or the selected textbooks in the JList. Finally it must give a total count of the vowels as shown in screenshot.

Create 4 JPanels and add them to the pane. You can add the GUI components to the correct panels. The labels occupy ¼ and the text area occupies ¾ of panels 1 and 3. Use appropriate Fonts and Colors as needed in your GUI. Place two JLists and a button in Panel 2 and four buttons in Panel 4.

Each button is marked clearly and must also display a tool tip. Use Appropriate Font and Color in your program.

Note:

You will need only one ActionListener for the whole program.

You don’t need any ListSelectionListener.

Don’t use deprecated methods in your program. Usually IDE will have a Strikethrough of the deprecated methods.

Find Vowels in TextArea

In Panel1 text area, the user enters a paragraph of text and when he/she clicks the Find Vowels in Text Area button, the Text Area in Panel 3 will display the count of a, e, i, o, u, A, E, I, O, U and the total number of vowels.

You must code a method FindVowels that will return a String in your program and use it. The label in Panel3 will display “Vowels in the given text”. The button (Find Vowels in JList) will become inactive. Only three buttons will be active.

Find Vowels in JList textbooks selected

The user selects the textbooks in JList on the left and clicks the books by either holding the Shift (contiguous) or Ctrl (noncontiguous) keys. The user may select multiple books from this list. Upon clicking the copy button, the list of textbook selected is copied into the JList on the right.

The textbooks to be loaded in JList on the left are given in the table.

Beginning Java Programming

Beginning Programming with Java for Dummies

Java Programming: From Problem Analysis to Program Design

Head First Java

Java The Complete Reference

Introduction to Java Programming Comprehensive

An Introduction to Programming Using Java

Effective Java

Core Java Volume 1 Fundamentals

Java in 21 Days, Sam’s Teach Yourself

Once the textbooks are selected, the user must click the copy >>> button to move it to the JList on right. Once the JList on right is not empty, the Find Vowels in Text button must become inactive.

Clear Button

The clear Button will clear the text area in Panel 1, the JList on the right, the label and textArea in Panel 3 and make both the Find button enabled. The copy button also becomes active.

Exit Button

Clicking this button exits the application.

Beginning Java Programming

Beginning Programming with Java for Dummies

Java Programming: From Problem Analysis to Program Design

Head First Java

Java The Complete Reference

Introduction to Java Programming Comprehensive

An Introduction to Programming Using Java

Effective Java

Core Java Volume 1 Fundamentals

Java in 21 Days, Sam’s Teach Yourself

Explanation / Answer

static int vowelcount(String s) { for(i=0,c=0;i
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote