Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 . Create a UML for the ClothingStore class before coding ( use a pencil, pen, or ruler ) 2 . Develop a class called
Create a UML for the ClothingStore class before coding use a pencil, pen, or ruler
Develop a class called ClothingStore that will use array fields to store the username and password, names of the items, and their unit costs. It will also contain a field for tax with a rate of You should create three arrays namely a dimensional array for the username and password with entries username, password, and Baskin and Chambers respectively. A regular array for the items names you create any types and another array for the items prices You create any prices In addition, the class will contain methods: one to return the username, another to return the password, another to return a price given an item name, another to return the names of the items, another to calculate the cost, another to calculate the taxes, and another to calculate the total cost. Note: you will need to determine the parameters and return types of your methods
Develop a JavaFX application that uses the ClothingStore class. The program will do the following: Note: you will have to use the methods in the ClothingStore class in the demo
a Ask a user to enter her username and password. If it is correct it will proceed to b otherwise, it will prompt the user until the entries are correct. You should use any controls to do this.
b displays a menu of the list of items and their costs, sold by the pizza store. You can use a gridpane.
c Accept an item and quantity to buy from the user. You can use textfields.
d After the user clicks a button, it will display the precost of the items, the taxes on the item, and the total cost
e Include user validation for all your user data entries.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started