Question: Problem 1 (60 points): Simple JavaFX app 1. Create a JavaFX project in Eclipse with a name like FirstName-LastName-ex2 (e.g., Jane- Doe-ex2) 2. Use the

Problem 1 (60 points): Simple JavaFX app 1. Create a JavaFX project in Eclipse with a name like FirstName-LastName-ex2 (e.g., Jane- Doe-ex2) 2. Use the default package application. 3. Use the default JavaFX class (a source file) named Main.java. 4. Create a menu bar in the Main.java with MyApp, Image, and Video menus. You may use any layout pane. You are required to use three layouts or scenes. a. The MyApp menu has Exit menu item to exit the application. Use anonymous class for event handling. b. The Image menu has 4 menu items: MN Bird, NY Bird, CA Bird, and WA Bird. Use lambda expressions for event handling. Clicking a menu item display an image of the state bird in a separate scene or layout. C. The Video menu has 4 menu items: MN Video, NY Video, CA Video, and WA Video. When you click a country name, a video about the country appears in a separate scene or layout. Use the alternative lambda expressions (i.e., lambda expressions with separate methods) for event handling. 5. Export your project to a JAR file (not a runnable JAR file). 6. Upload the JAR file on Canvas. Problem 1 (60 points): Simple JavaFX app 1. Create a JavaFX project in Eclipse with a name like FirstName-LastName-ex2 (e.g., Jane- Doe-ex2) 2. Use the default package application. 3. Use the default JavaFX class (a source file) named Main.java. 4. Create a menu bar in the Main.java with MyApp, Image, and Video menus. You may use any layout pane. You are required to use three layouts or scenes. a. The MyApp menu has Exit menu item to exit the application. Use anonymous class for event handling. b. The Image menu has 4 menu items: MN Bird, NY Bird, CA Bird, and WA Bird. Use lambda expressions for event handling. Clicking a menu item display an image of the state bird in a separate scene or layout. C. The Video menu has 4 menu items: MN Video, NY Video, CA Video, and WA Video. When you click a country name, a video about the country appears in a separate scene or layout. Use the alternative lambda expressions (i.e., lambda expressions with separate methods) for event handling. 5. Export your project to a JAR file (not a runnable JAR file). 6. Upload the JAR file on Canvas
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
