Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Strategic Database Technology Management For The Year 2000

Authors: Alan Simon

1st Edition

155860264X, 978-1558602649

More Books

Students also viewed these Databases questions