Question

Objectives

• To become familiar with JavaFX

.

o Please do not use Swing or AWT or another GUI/graphics library

0 Unless you want 0 score on your program

To programmatically implement necessary graphics and program state

You may complete the program using SceneBuilder with FXML (which does promote good

separation of concerns), or write all the code yourself.

Instructions

UMD (University of Meathammer - Detroit)¹ has the following dormitories:

.

Snaggletooth Hall: $1,500/semester

Bupkis Hall: $2,500/semester

Dumptruck Hall: $1,200/semester

University Suites: $3,000/semester

The university also has the following meal plans available:

7 meals per week: $600/semester

• 14 meals per week: $1,100/semester

Unlimited meals: $1,800/semester

You are to create an application with two ComboBox controls. One of the combo boxes should hold the

names of the dormitories, and the other should hold the meal plans. The user should be able to select

a dormitory and a meal plan, and then click a Button, which says "Calculate Total" on it, and display the

total charges for the semester in a Label control.

Question image 1