a main application called Project1.java, and a GUI (that extends JFrame) called WordGUI.java. The main program should open a file
Need help with this assignment?Get an original answer from a qualified tutor — from $10/page.
Get it written →
a main application called Project1.java, and a GUI (that extends JFrame) called WordGUI.java. The main program should open a file called "input.txt" which will contain words, one per line. As the words are read from the file, they should be displayed in the GUI as follows:
The GUI should have a grid layout of two rows (row 0 and row 1) and three columns (column 0, 1 and 2). All words that start with an 'A' or 'a' should be displayed in row 0, column 0. All words that start with an 'E' or 'e' should be displayed in row 0, column 1. Likewise for words starting with 'I' or 'I' in row 0 column 2, with 'O' or'o' in row 1 column 0, with 'U' or 'u' in row 1 column 1, and the rest of the words in row 1, column 2. The input file Each line of the input file will contain a word.
An example of the input file would be:
This
is
an
example
input
———————–
needs 2 files::
Project1.java
WordGUI.java
—————–
input.txt is::
This
is
an
input
file
to
off
used
for
project
1
in
Computer
Science
The
word
are
to
be
divided
into
six
envelop
Get a plagiarism-free answer to this question
Send us your instructions and we’ll match you with the best writer in your subject.
- 100% human-written, zero AI
- Turnitin report included
- Confidential — we never share your data
- Free revisions & refunds