Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

WRITE THE PROGRAM USING JAVA AND JAVA FX 1 Goals 1. To use a text file for output and after for input. 2. To use

WRITE THE PROGRAM USING JAVA AND JAVA FX

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

1 Goals 1. To use a text file for output and after for input. 2. To use exceptions and write an exception handler that does more than abort execution. 3. To use a static class variable 4. To use a boolean variable and a Date variable 5. To use an ArrayList of objects. 6. Create a GUI Window that displays a message and contains a button 7. To implement Phase 1 of a two phase well-structured, multiclass system using the MVC design pattern. In part 2 you will 7. To add inheritance to the Model Class 8. Save data to a binary (object) file 9. Implement whole system as GUI. 2 Overview This section discusses a finished application that you will construct in several phases. When all phases are finished, it will simulate a online Ticket Purchasing System, there is an owner, event venues and customers and some additional sub-types. Eventually, this system will be created as an application with a windows GUI interface. The Customer's login name will eventually be encrypted and the data will be stored in an object file. This program implements a simple single scene GUI to display your welcome with at least one button, only part of the menu, uses a text file and does not encrypt the User's data. At first this will be a menu-driven application allowing for these actions 1. 2. 3. The first time the program is used, the user will enter his or her own data in to the program and will become the Owner After that, when the program starts up, it will read in a database of User data and store it in the User collection (ArrayList). After that, the Owner will be able to log in and create new Users by entering the person's name (first, middle initial-optional, and last), login name, shipping address and payment info. This data will be used to initialize a new User object. The User object will also record the date joined (current date) and assign a unique ID number for this User. The new User will be added to the User collection. The Owner can log in and display a list of all Users in the collection and can change the payment info for any User or make corrections to date joined and name. In the list, display the User ID, full name (first, middle initial and last), login name, date joined, years of membership, payment type, isUser and total tickets purchased to date for each User Any User in the collection can log in and see his or her own data, buy tickets, or close their account. A User whose login name is in the collection may log in and out. Logging in will automatically log out the prior User The menu has an option to exit the system and exiting will cause the final contents of the collection to be written back to the database file (replacing it) 4. 5. 6. 7. 3 The User Class: Part of the Model for this application The User() constructor a) An object of type User will have the following data members 1 Goals 1. To use a text file for output and after for input. 2. To use exceptions and write an exception handler that does more than abort execution. 3. To use a static class variable 4. To use a boolean variable and a Date variable 5. To use an ArrayList of objects. 6. Create a GUI Window that displays a message and contains a button 7. To implement Phase 1 of a two phase well-structured, multiclass system using the MVC design pattern. In part 2 you will 7. To add inheritance to the Model Class 8. Save data to a binary (object) file 9. Implement whole system as GUI. 2 Overview This section discusses a finished application that you will construct in several phases. When all phases are finished, it will simulate a online Ticket Purchasing System, there is an owner, event venues and customers and some additional sub-types. Eventually, this system will be created as an application with a windows GUI interface. The Customer's login name will eventually be encrypted and the data will be stored in an object file. This program implements a simple single scene GUI to display your welcome with at least one button, only part of the menu, uses a text file and does not encrypt the User's data. At first this will be a menu-driven application allowing for these actions 1. 2. 3. The first time the program is used, the user will enter his or her own data in to the program and will become the Owner After that, when the program starts up, it will read in a database of User data and store it in the User collection (ArrayList). After that, the Owner will be able to log in and create new Users by entering the person's name (first, middle initial-optional, and last), login name, shipping address and payment info. This data will be used to initialize a new User object. The User object will also record the date joined (current date) and assign a unique ID number for this User. The new User will be added to the User collection. The Owner can log in and display a list of all Users in the collection and can change the payment info for any User or make corrections to date joined and name. In the list, display the User ID, full name (first, middle initial and last), login name, date joined, years of membership, payment type, isUser and total tickets purchased to date for each User Any User in the collection can log in and see his or her own data, buy tickets, or close their account. A User whose login name is in the collection may log in and out. Logging in will automatically log out the prior User The menu has an option to exit the system and exiting will cause the final contents of the collection to be written back to the database file (replacing it) 4. 5. 6. 7. 3 The User Class: Part of the Model for this application The User() constructor a) An object of type User will have the following data members

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

Database And Expert Systems Applications 33rd International Conference Dexa 2022 Vienna Austria August 22 24 2022 Proceedings Part 1 Lncs 13426

Authors: Christine Strauss ,Alfredo Cuzzocrea ,Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil

1st Edition

3031124227, 978-3031124228

More Books

Students also viewed these Databases questions

Question

1. Who will you assemble on the team?

Answered: 1 week ago

Question

Did the team members feel that their work mattered

Answered: 1 week ago