Write a main application called Project1.java, and a GUI (that extends JFrame) called The main program should open a file called "input.txt" which will contain a paragraph. Read the lines from the file until there are no more. For each line, count the numbe vowels in that line, using a counter for the vowels 'A' and 'a', a counter for the vowels Forth. The GUI should have a grid layout of one row and two columns (column 0 and 1). contain the original text from the file. Column 1 should contain 5 lines displaying the co the vowels. Submitting the Project. You should now have the following files to submit for this project: Project1.java VowelGUI.java
Write a main application called Project1.java, and a GUI (that extends JFrame) called The main program should open a file called "input.txt" which will contain a paragraph. Read the lines from the file until there are no more. For each line, count the numbe vowels in that line, using a counter for the vowels 'A' and 'a', a counter for the vowels Forth. The GUI should have a grid layout of one row and two columns (column 0 and 1). contain the original text from the file. Column 1 should contain 5 lines displaying the co the vowels. Submitting the Project. You should now have the following files to submit for this project: Project1.java VowelGUI.java
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
CODE help with java..plzz paste indented code
PLEASE DONT COPY OFF OTHER POSTS
add comments too

Transcribed Image Text:**Project Instructions**
**Overview:**
Develop a main application named `Project1.java` and a GUI that extends JFrame named `VowelGUI.java`. The program is designed to open a file named `input.txt`, which contains a paragraph.
**Instructions:**
1. **File Reading:**
- The application should read lines from `input.txt` until the end of the file.
- For each line, count the occurrences of vowels:
- Count vowels 'A' and 'a'.
- Count vowels 'E' and 'e'.
- Continue similarly for the other vowels.
2. **Graphical User Interface:**
- The GUI must have a grid layout consisting of one row with two columns (column 0 and column 1).
- **Column 0:** Display the original text from `input.txt`.
- **Column 1:** Show 5 lines indicating the count for each vowel.
**Submission Guidelines:**
Ensure you have the following files submitted:
- `Project1.java`
- `VowelGUI.java`
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education