Starting from:

$24.99

CS400 Assignment 2- HelloFX Solution


Please seek help from each other as best you can and credit any pseudocode or code you get from other sources.
Learning Outcomes p2 (HelloFX)
1. Work from Home
2. JavaFX v11 for Eclipse and HelloFX
1. JavaFX Install javafx as a User Library
2. JavaFX Create HelloFX project
3. JavaFX Configure HelloFX project
4. JavaFX Edit HelloFX project
3. After completing the above, add the following to your project:
1. add a Label in the top panel, that says "CS400 My First JavaFX Program"
2. add a ComboBox in the left panel, that shows a drop down box with three or more items that can be selected.
(selecting does not have to do anything for this program. Tip: google "JavaFX ComboBox")
3. add an ImageView of an Image in the center panel (Tip: google "JavaFX ImageView") (image file must be copied to your project and the image must be a photo or drawing of your face)
4. add a Button in the bottom panel with the label "Done"
(button does not have to, but can be programmed to close window)
5. add a user interface control element of your choosing in the right panel.
4. Run application and save a screenshot of your application window.
5. Try running your program from the command line.
1. Eclipse -> Run -> Run Configurations
2. Click Show Command Line
3. Click Copy and Close
4. Open a Command Window on your computer
5. Navigate to your Eclipse project
6. Paste the Command Line command
7. Windows Users: Add quotes around the path to the javaw.exe command if there are spaces in the command.
8. Type Enter to run program
6. [OPTIONAL, but welcome. Only try this step if you can run from command line] Create a runnable executable.jar file.
You can start by following and modifying these instructions to be specific to your HelloFX project: Create a Project Java ARchive (JAR)
7. [REQUIRED] Create a zip file of all of your project files
1. If you got it to work from command line:
1. open terminal window
2. navigate to your project folder
3. zip -r hellofx.zip .
2. Win10Users (from file explorer window):
1. run program
2. take a few screen shots of different functionality (one is fine if it shows all)
3. open file explorer
4. go to project folder
5. select all files
6. right-click
7. select "Send to " -> zip or compressed file
8. rename zip file to hellofx.zip
8. Submit hellofx.zip
9. OPTIONAL: have a friend (with same operating system win/mac/linux) download and unzip your hellofx.zip file and try to run it with their instructions.
Submit
Be sure that your hellofx.zip contains:
application/* (all JavaFX source files including .css) manifest.txt (we hope to be able to use this later) executable.jar (if you were able to create one) your photo image file (jpg or png please)
screenshot of the program when it is running (jpg or png please)
HelloFX

Criteria Ratings Pts
Submitted complete zip file
Completed the steps to build the zip file 5.0 pts
Top panel
Top panel has contents as specified in assignment. 5.0 pts
Left panel
Left panel has contents as specified in assignment. 5.0 pts
Center panel
Center panel has contents as specified in assignment. 5.0 pts
Right panel
Right panel has contents as specified in assignment. 5.0 pts
Bottom panel
Bottom panel has contents as specified in assignment. 5.0 pts

More products