Question: Create a new Java or JavaFX (not FXML) project with one of the following apps taken from the instructions for exercises at the conclusion of
Create a new Java or JavaFX (not FXML) project with one of the following apps taken from the instructions for exercises at the conclusion of Chapter 14:
14.5 (Random Sentences) Complete this assignment as written either as a Java console application for a maximum of 8 out of 10 points, or as a JavaFX application with a Button event handler for a maximum of 8 out of 10 points; if you do the console version, generate and display the 20 sentences as specified in the textbook; otherwise if you do the JavaFX version, just generate one sentence each time the Button is clicked
14.7 (Pig Latin) Complete this assignment as written as a Java console application for a maximum of 8 out of 10 points; for credit of an additional -point either (a) use a regular expression and the String.matches() method to validate that all tokens from the String.split() method are alphabetic characters (display an error message for invalid input); or (b) run the app as a JavaFX application with a Button event handler; complete either (a) or (b) for a maximum of 9 out of 10 points; or complete both of the above additional elements for a maximum of 9 out of 10 points
14.9 (Displaying a Sentence with Its Words Reversed) Complete this assignment as written as a Java console application for a maximum of 7 out of 10 points; for credit of an additional -point either (a) use a regular expression and the String.matches() method to validate that all tokens from the String.split() method are alphabetic characters (display an error message for invalid input); or (b) run the app as a JavaFX application with a Button event handler; complete either (a) or (b) for a maximum of 8 out of 10 points; or complete both of the above additional elements for a maximum of 8 out of 10 points
14.10 (Displaying Strings in Uppercase and Lowercase) Complete this assignment as written as a Java console application for a maximum of 7 out of 10 points; for credit of an additional -point either (a) use a regular expression and the String.matches() method to validate that all characters are alphabetic or blank spaces (display an error message for invalid input); or (b) run the app as a JavaFX application with a Button event handler; complete either (a) or (b) for a maximum of 7 out of 10 points; or complete both of the above additional elements for a maximum of 8 out of 10 points
14.12 (Searching Strings) Complete this assignment as written as a Java console application for a maximum of 9; out of 10 points; for credit of an additional -point either (a) use a regular expression and the String.matches() method to validate that all tokens from the String.split() method are alphabetic characters (display an error message for invalid input); or (b) run the app as a JavaFX application with a Button event handler; complete either (a) or (b) for a maximum of 9 out of 10 points; or complete both of the above additional elements for a maximum of 10 out of 10 points
14.22 (Morse Code) Complete this assignment as a JavaFX application with a Button event handler for a maximum of 10 out of 10 points; use regular expressions to test whether the user has entered an English-language phrase (only letters and blank spaces) or a Morse code message (only dots (.), dashes (-) and blank spaces) (display an error message for any other invalid input); then perform the appropriate coding or decoding and display the result
If you are creating a JavaFX application, use a combination of layout objects, as well as font and color formatting to create a pleasing, professional looking form window
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
