Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

GUI Assignment You will be creating a seating arrangement application using JavaFX. The project will comprise of two sections: the interface and the Java

imageimageimageimage

GUI Assignment You will be creating a seating arrangement application using JavaFX. The project will comprise of two sections: the interface and the Java code. The application will feature a 3x3 seating chart and a form below the seating chart. The form of with ask the user to input a name and choose a color to represent the student. Below is an example. Teacher Student Name Student White Color Add Student When the user clicks on the button, the application will check that the text field is not empty. It will also check to determine if the color has already been chosen for a seating arrangement. If the text field is empty, the user receives an error message. Teacher Error message appears now Student Name Student Color White Add Student If the name is not empty and the color has not been chosen already, the application randomly chooses a placement for the student. If the color has already been choses, an error message appears. The app will only place the student in an empty slot and will give an error message when there are no more places available. See below for screenshots. Ben Teacher Student Name Ben Student Color Ben #e6b34d Add Student Teacher Student Name Java Student Color Java #80b3b3 Add Student # Rubric Task 1 Stylish GUI Description Original layout. Does not copy sample outline of Assignment. Uses good color combinations. Weight in % 15 2 Uses appropriate GUI structures Uses controls, layouts, 7.5 shapes, etc 3 Actions evoke appropriate GUI structures Components are not 7.5 visible until appropriate actions 4 Seating is chosen at random Pattern of choosing 7.5 seating is not hard-coded. Chosen at random. 5 Verifications are completed 10 6 Add Student button works correctly. 7 Seating Complete Application checks if color is chosen: gives error if it is. Does not place student in seating arrange if color has already been choses Application checks if student name is not blank. This includes checking for spacebar entries, where no characters are inputted: 47.5 gives error if it is. Does not place student. Color and Student Name 10 appear in seating arrangement when user has inputted an entry with no errors. Congratulatory message is showed when seating has been completed. 5 Error message shows up when user tries to add another Student Name when Seating arrangement is full.

Step by Step Solution

3.49 Rating (156 Votes )

There are 3 Steps involved in it

Step: 1

import javafxapplicationApplication import javafxgeometryInsets import javafxsceneScene import javaf... 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_2

Step: 3

blur-text-image_3

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

Programming With Microsoft Visual Basic 2017

Authors: Diane Zak

8th Edition

1337102121, 9781337517058, 978-1337102124

More Books

Students explore these related Programming questions