CS 212 QCC Java Question
Description
Unformatted Attachment Preview
Computer Science Department
CS 212 all 2022 roject 4
Assigned: 17 November 2022
Due:
8 December 2022
Cutoff:
12 December 2022
List the Words once and the line numbers on which they appear
The content pane of the GUI should still have a grid layout of one row and two columns. When the user
clicks on List a choice can be made of one of the five vowels, as before. Clicking on a vowel should list
each word in the file that starts with that vowel, with each unique word appearing once in the list, along
with all the line numbers on which that words appears.
Modify the WordLine class to store multiple lines
Change the int that was being used in the WordLine to an ArrayList of integers that can store all the line
numbers on which the word appears.
Example showing the GUI if the user chooses T from the List menu item
Input file:
GUI:
In this file it is shown
that that there is more
than one word with I
1. In this file it is shown
2. That there is more
3. Than one word with I
I: 3
In: 1
is: 1, 2
it: 1
Submitting the Project.
Submit all files that are necessary to run the application in a jar file called Project4.jar. Make sure the
jar file contains source code (Java files), not class files. There will be no opportunities to resubmit the
project. Do not upload individual Java files.
Upload your project to Blackboard by the due date for full credit. Do not send projects by email.
Purchase answer to see full
attachment
Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."