1. Create a Java project called CST242-FA2020-YourLastName substituting your name for YourLastName. 2. Output your full name - Exam 01. 3. Using the java.util.LinkedList and ListIterator Classes,...

I am almost out of time and i cant rap my head around it


1. Create a Java project called CST242-FA2020-YourLastName substituting your name for YourLastName. 2. Output your full name - Exam 01. 3. Using the java.util.LinkedList and ListIterator Classes, create a linked list adding the following elements with the addLast() method: abc def ghi jkl mno pqr stu vwx yz 4. Print out the list with a heading before it "Unmodified List". 5. Create a list iterator and cycle through the list outputting each value until you find "mno". 6. If you find mno, exit the loop. Then go back 2 list elements. 7. Change the list element from the current value to the value with "*** " appended before it and " ***" after it. This means ghi should become "*** ghi ***". 8. Advance 3 elements printing out each element after advancement and then remove the element (pqr should disappear). 9. Print out the list with the heading before it "Modified List". 10. Read in the dataImport.txt file and add the lines to an ArrayList of type String called listFromFile. 11. Output a heading: "Lines Read from File Stored in ArrayList:". 12. Output each element from the ArrayList. 13. Run the program and take a screenshot of the output and paste it into the indicated spot in your submission document. 14. Copy and paste the code into the indicated spot in the submission document. *** Program #2 *** JavaFX (All 3 supplemental chapters but examples of components of these steps can be found in Chapter 13 Supplemental Chapter) 1. Create a JavaFX project called CST242-FA2020-YourLastName-JavaFX substituting your name for YourLastName. For NetBeans users this means copying the JavaFX Template project. The main class can be called Exam01. Paste the Exam comment block into the main class changing your name appropriately. 2. Create the following UI instance variables:    TextField currentWord    Button appendWordButton with the text "Append Word".    TextArea wordAppendArea    int clickCounter = 1; 2. Create a BorderPane as the main pane and call it mainBPane. 3. Add a text title to the top pane and label it "CST242 Exam #1 - " and add your first and last name. 4. Create a GridPane called centerGPane. 5. Create a menu with "File", "Edit", and Help. 6. Add "About Test Taker" to the Help submenu. 7. For the action of "About Test Taker", display an INFORMATION alert type simple dialog that lists your Name, CST242-FA2020, and Exam #1. Use the showAndWait() method to display the dialog. 9. Create a Label UI variable with the text "Word to Append:" with name wordToAppendLabel. 10. Create a TextField UI variable called wordToAppendTField. 11. Add the wordToAppendLabel to the centerGPane followed by the wordToAppendTField next to it in the same row. 12. Add the appendWordButton to the centerGPane skipping 1 row between the label and text field. 13. Add the wordAppendArea to the centerGPane below the button. 14. Create the onAction() code for the button to increase the clickCounter by 1. Append to the text area the clickCounter followed by a . and skip a space followed by the word and a new line ("\n") control character sequence. 15. Run the program and type the following words one at a time in the text field clicking the button each time but erase the previous word first in the text field: My name is {type your first and last name without the brackets} 16. Take a screenshot and paste it into the submission document in the spot indicated and copy and paste your code and place it in the correct spot. Submission: Zip up your source code and the submission document for program #1 and make sure you name the zipped folder "CST242-FA2020-YourLastName-Program01". Zip up your source code and the submission document for program #2 and make sure you name the zipped folder "CST242-FA2020-YourLastName-Program02". Access the Exam. Upload the first zip folder to question #1. Upload the second zip folder to question #2. Submit the Exam.
Oct 09, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here