LEARNING TO USE JAVAFX: PROGRAMMING AND GUI SCREEN DESIGN

Rainebow
Completethefollowingstepsforthisassignment.docx

Complete the following steps for this assignment, Part 1 Programming a JavaFX GUI-Based Application.

1. Use JavaFX to build a GUI program that implements the Caesar Cipher algorithm, the CaesarCipherFX project.

2. Your user interface must include the following:

. Professional layout; the precise design is up to you.

. A drop-down to select the Key. The Key must be an integer in the range -3..+3; zero is an acceptable Key value.

. A TextField (TF1) in which the user enters the message to be translated.

. A read-only TextField (TF2), where the translated message will be displayed.

. A Translate button that causes the translation to take place, using the TF1 message for input, translating the message, and displaying the result in TF2.

. A Copy Up button that causes the contents of TF2 to be copied to TF1, and then clearing TF2. This makes it easy to translate a message, copy the message, and “untranslate” the message.

. A Clear button that clears the Key selection, TF1, and TF2.

. If the Translate button is pressed when no Key has been selected, an appropriate alert should display, informing the user that a Key must be selected before a translation can take place.

. You should use the translate() method that you built for Week 1’s assignment to perform the Caesar Cipher translation. (Note that translate both encodes (key > 0) and decodes key < 0)).

3. Take sufficient screen shots to demonstrate that your program meets all requirements.

. Include the execution output of your program to convince a reader that it functions properly—both encoding and decoding messages.

. Test your program with both positive and negative Key values, and text strings containing both alphabetic and nonalphabetic characters.

. One test must show the alert that results when a Key has not been selected.

. Paste these screen shots into an MS Word document.

4. For your final test, you use must use a Key value of -2 and the message “Qpeg wrqp c vkog - c nqpi, nqpi vkog ciq . . .”

5. Create a .zip file containing your Caesar Cipher project.

. Before zipping your project, right-click the project and "clean" it. This greatly reduces the file size and speeds up the program's performance.

. Then close NetBeans.

6. Add the MS Word document with your screenshots to your .zip file.

7. Rename your .zip file, following this pattern: LastName_Week2.zip.

Assignment Instructions—Part 2 Designing GUI Screens

Complete these steps for this assignment, Part 2 Designing GUI Screens.

1. Select a visual design software or prototyping tools of your choice.

2. Design the seven user interface screens required for the CapestraApp project.

. Note that the Employee Information report already is implemented in the CapestraApp template application.

3. Place each screen on a separate page in an MS Word document, labeling each screen appropriately.

4. Add your MS Word design document to the .zip file you created in Part 1 of this assignment.