GUI Assignment You will be creating a seating arrangement application using JavaFX. The project will comprise...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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. 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.
Expert Answer:
Answer rating: 100% (QA)
import javafxapplicationApplication import javafxgeometryInsets import javafxsceneScene import javaf... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
You have been employed to create program to assist the manager of a coffee shop. You decide to make a prototype application in Java to show what you can do, and to be able to ask the manager what...
-
Suggest a good synthetic method for preparing each of the following haloalkanes from the corresponding alcohols. CH3 H3C CI I () CH-CH-CH,CI (b) CH;CH,CHCH,Br () (d) CH;CHCH(CH3)2
-
Sophia Incorporated issued a $105,000, five-year, zero-interest-bearing note to Angelica Corp. on January 1, 2017 and received $52,000 cash. Sophia uses the effective interest method. (a) Using a...
-
Cite the indices of the direction that results from the intersection of each of the following pair of planes within a cubic crystal: (a) (100) and (010) planes, (b) (111) and (111) planes, and (c)...
-
The slope of constant volume line on \(T-S\) diagram is _________ sure line. than that of constant pressure line.
-
Consider a simple firm that has the following market-value balance sheet: Next year, there are two possible values for its assets, each equally likely: $1200 and $960. Its debt will be due with 5%...
-
On the 30th September 2023, you can already an article about a proposed merger relating to ibibi bank. On 1t October you notice that shares of ibibi bank are currently selling at rs. 1000. A)...
-
Dorsey Corporation purchased 90% of the common stock of Lansing Company on January 1, 2018. The cost of the investment was equal to the book value interest acquired. Lansing Company operates two...
-
how would i create a it asset inventory for Web servers Routers Switches Customer databases IoT Security Cameras Voice over Internet Protocol (VoIP) telephone system and how would i get five critical...
-
8. sulfur tetrachloride 9. azide ion, N, 10. beryllium dichloride 11. boron trifluoride #valence electrons electron-domain geometry molecular geometry bond angles #valence electrons electron-domain...
-
DEFINITIONS OF STRATEGY and GRAND STRATEGY FOR MY NATIONAL SECURITY POLICY AND STRATEGY COURSE Example definition of strategy - It is the art of gaining advantage and delivering success in an...
-
There are a variety of functional strategies a company can employ for a specific product, service. They are product strategies, people strategies and support strategies. With this in mind select a...
-
If you weigh your portfolio in 80% risky and 20% risk-free t bills. The optimal risky portfolio consists of 40% in bonds and 60% in ETFs. How much will you have invested in t-bills, bonds, and etfs?
-
Consider what you have read and answer the question, "What is my legacy?" Just like the beginning of the term, it's possible that "What do I want my legacy to be?" could be a different answer....
-
4) A small sample was taken from a large mass and the standard deviation was 0.2; the average was found to be 9. Find the arithmetic mean of the main mass according to 95% confidence interval.
-
Convert the numeral to a HinduArabic numeral. A94 12
-
What will the code in Figure 4-54 assign to the lblStatus control when the strLevel variable contains the string 5? a. Bronze b. Gold c. Platinum d. Silver If strLevel = "1" OrElse strLevel "2" Then...
-
If the elements in two arrays are related by their subscripts, the arrays are called _____________________ arrays. a. Associated b. Coupled c. Matching d. Parallel
-
The SQL SELECT statement performs case-sensitive comparisons. a. True b. False
-
The pirate industry has taken hold in Somalia, and with 23,000 ships coming through the Gulf of Aden annually, the operations of pirates appear to be located centrally. There are 18 to 21 ships...
-
In the early 1980 s, Colombian drug barons, large landowners, industrialists, and bankers, with the cooperation of the Colombian government, began to create private paramilitary units to combat the...
-
NLC issued a report that Liz Claiborne, Walmart, Ann Taylor, Esprit, Ralph Lauren, JCPenney, and Kmart were using subcontractors in China that use Chinese women (between the ages of 17 and 25) to...
Study smarter with the SolutionInn App