2023 Your proposed GUI design has been approved by management Management is confident that this will help them | Assignment Collections
Computer Science 2023 Java Program II IND Project 1
2023 Your proposed GUI design has been approved by management Management is confident that this will help them | Assignment Collections
Your proposed GUI design has been approved by management. Management is confident that this will help them determine the effectiveness of their sales force. They are ready to have you implement the GUI. Before designing the application further, they want to first have the GUI implemented to perform very basic functionality. As you progress through the assignments, your submission will culminate in a Final Key Assignment.
Application Requirements:
Implement the Swing application using the GUI you designed in the Phase 1 Discussion Board. The user will have to enter the following data items:
- Sales representative ID
- Sales representative First Name
- Sales representative Last Name
- Total sold for each of three categories: office supplies, books, and paper
- Sales district (North, South, East, West).
- Preferred means of contact with potential buyers (phone, e-mail, visit)
Include a QUIT button to exit the application and an ENTER button that causes the sales representative’s data to be retrieved from the GUI components and submitted to the application. The sales representative’s data will echo to the jTextArea each time the ENTER button is pressed.
Your application should be thoroughly commented.
Intermediate-level Java programming should be demonstrated:
- Program flow should be logical.
- Projects should be developed in NetBeans and zipped prior to submission.
- Your application should execute by running the main project.
- Do not submit any code within your project that is not related to this assignment.
- Applications that do not compile will receive feedback but not a passing grade.
Please submit your zipped NetBeans project.
template:
Java Swing Components Suitability
FIELD |
SWING COMPONENT |
SUITABILITY |
àSales Representative ID àRepresentative First Name àRepresentative Last Name àOffice Supplies Sales àBook Sales àPaper Sales |
JTextField (One for each field) |
Suitable for entry and display of short string values. These fields will all hold values that are no more than a few characters and therefore can be displayed in only one short line within a text box component. |
àSales Districts |
Grouped JRadioButtons (One for each district) |
Suitable where there are multiple options to choose from and the user is allowed to select only one option |
àMeans of Contact |
JCheckBox (One for each option) |
Suitable where there are multiple options to choose from and the user is allowed to select more than one option |
àQuit Application àSubmit Entries |
JButton (One for each function) |
Suitable for triggering action events |
Sales Representative User Interface
PSEUDOCODE
Variables : rep_id, first_name, last_name, office_supplies, book_sales, paper_sales, district, phone, email, visit;
ACTION_ENTER
{
IF (All required fields have been filled)
SET rep_id;
SET first_name;
SET last_name;
SET office_supplies;
SET book_sales;
SET paper_sales;
SET phone;
SET email;
SET visit;
IF (North isSelected) SET district = North;
ELSE IF (South isSelected) SET district = South;
ELSE IF (EAST isSelected) SET district = East;
ELSE SET district = West;
ELSE
Prompt user to enter missing values
}
ACTION_QUIT
{
IF (there are pending changes)
Prompt to SAVE;
EXIT App;
}
We give our students 100% satisfaction with their assignments, which is one of the most important reasons students prefer us to other helpers. Our professional group and planners have more than ten years of rich experience. The only reason is that we have successfully helped more than 100000 students with their assignments on our inception days. Our expert group has more than 2200 professionals in different topics, and that is not all; we get more than 300 jobs every day more than 90% of the assignment get the conversion for payment.