Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in this program: https://www.chegg.com/homework-help/questions-and-answers/write-java-program-customer-relationship-management-crm-system-following-features-customer-q34429759 include the following specifications: For the classes Customer and Services make sure you use a static integer field for the incremental

in this program: https://www.chegg.com/homework-help/questions-and-answers/write-java-program-customer-relationship-management-crm-system-following-features-customer-q34429759

include the following specifications: For the classes Customer and Services make sure you use a static integer field for the incremental ID of the objects of these classes. (GUI) Introduce inheritance in the project design with the following: a. Add a new class Person class: with the following attributes; Name Surname ID Username Password Address PhoneNumber Classes inheriting from Person: i. Manager: has two additional features more than the Person called InternalPhoneNumber and PIN to start the software at the beginning of the day. ii. User: has these fields more than Person: InternalPhoneNumber, baseSalary.

b) Classes inheriting from Customer class The following types of Customer exists. i. SimpleCustomer ii. Class LoyalCustomer which has additional features: IndividualID and Discount. The manager inserts the discount amount periodically. (It may be also 0 ) iii. Class BusinessCustomer, which has additional features more than Customer, called Business ID(NIPT) and has an additional feature more than LoyalCustomer called BusinessDiscount. The manager will define the amount of BusinessDiscount. The overall discount is calculated as Discount + BusinessDiscount.

Define the following methods in all classes: calculateTotalFee( ) : Calculate the Total fee with the discount for each of these classes PrintInfo( ): Print all the information of the Service Complete the following extensions to the current project: 1. Start the program with a login window where you request username and password for the user. 2. Once the user is logged in show the following window with this menu: File Help (show a simple window with few instructions on how to use the program) Exit (close the program) Suggestion: Use JDesktopPane within JFrame Put in the File menu the following voices: New Customer (suggestion: open a new JInternalFrame for a new customer) Overall number of customers for some user (show a pop-up with the number of customers served or on hold) Total amount of all Customer services for the User (show a pop-up with the amount of Services served ) Within the internal frame implement the following: New Service for a specific customer o Choose Service type o Choose Service to be added. o Print Customer services info o Remove A service

Suggestion: use JMenu for first level (New Service), JMenu for second level (Example: Choose Service Type)

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

Murach's SQL Server 2012 For Developers

Authors: Bryan Syverson, Joel Murach, Mike Murach

1st Edition

1890774693, 9781890774691

More Books

Students also viewed these Databases questions

Question

How could ISO 9000 help the hotel?

Answered: 1 week ago