SlideShare a Scribd company logo
1 of 2
Now that you have your GUI operational, it is time to take the
application a step further. Management would like you to write
the entered data into a file. They intend to use an application to
read this file, evaluate the entered data, and display results.
These results will help management to make decisions on sales
force direction and expansion. Each time the ENTER button is
pressed, the entered sales representative’s data will be written
out to a file. A new button, EVALUATE will be added that
reads in the sales representative’s data file after it has been
created.
Design Requirements:
You must use pseudocode to design your algorithm for the
ENTER button functionality.These design artifacts
(pseudocode) will be inserted into a design document to be
reviewed by your classmates and submitted with the final
application for the final task.
Application Requirements:
Expand your Swing application to write the entered data out to a
text file. Instead of displaying the data in the jTextArea when
ENTER is pressed, change this functionality so that the data is
written to a file. Name the output file salesrep.txt. Each time
the ENTER button is pressed, the data will be written to the
file. Write the data in the following format to a text file, using
white spaces as the delimiter. Include the categories
(SUPPLIES, BOOKS, PAPER) in your file to label the dollar
amount sold for each category. The sales district entered should
be converted to upper case (NORTH, SOUTH, EAST, WEST).
Independent line separators should be used in the output file.
Code for the ENTER button should be well commented.
Format of your file:
salesRepID firstName lastName SUPPLIES
totalAmountSuppliesSold BOOKS totalAmountBooksSold
PAPER totalAmountPaperSold district contactMeans
Example output file contents:
1001 Jennifer Ward SUPPLIES 2140.20 BOOKS 5200.10
PAPER 455.23 NORTH Phone
1003 Athena Andrews SUPPLIES 5155.55 BOOKS 6300.50
PAPER 223.25 SOUTH Email
Each time the ENTER button is pressed, the application should
append a new line to the file. When the application starts, the
file should be opened for appending. This file is to keep a
running history of the entered data

More Related Content

Similar to Now that you have your GUI operational, it is time to take the appli.docx

Alcenco Label Flow Tutorial
Alcenco Label Flow TutorialAlcenco Label Flow Tutorial
Alcenco Label Flow Tutorialguestc46888
 
PPT On MS-Access 2007 | Full Concepts |
PPT On MS-Access 2007 | Full Concepts |PPT On MS-Access 2007 | Full Concepts |
PPT On MS-Access 2007 | Full Concepts |Umesh Kumar
 
How to create pivot table in excel
How to create pivot table in excelHow to create pivot table in excel
How to create pivot table in excelAashirJamil
 
Day1, session ii&iii- spss
Day1, session ii&iii- spssDay1, session ii&iii- spss
Day1, session ii&iii- spssabir hossain
 
How to Download IDEA for Windows Based ComputersSelect the dow.docx
How to Download IDEA for Windows Based ComputersSelect the dow.docxHow to Download IDEA for Windows Based ComputersSelect the dow.docx
How to Download IDEA for Windows Based ComputersSelect the dow.docxwellesleyterresa
 
Tableau online training
Tableau online trainingTableau online training
Tableau online trainingsuresh
 
INFORMATION TECHNOLOGY (ICT Skills ).pptx
INFORMATION TECHNOLOGY (ICT Skills ).pptxINFORMATION TECHNOLOGY (ICT Skills ).pptx
INFORMATION TECHNOLOGY (ICT Skills ).pptxArshveerSinghDhillon
 
Tableau online training || Tableau Server
Tableau online training || Tableau ServerTableau online training || Tableau Server
Tableau online training || Tableau ServerUnited Trainings
 
Tableau online training || Tableau Server
Tableau online training || Tableau ServerTableau online training || Tableau Server
Tableau online training || Tableau ServerUnited Trainings
 
Presentation in computer
Presentation in computerPresentation in computer
Presentation in computerjamesburrydanay
 
Lesson 3 advanced word processing skills
Lesson 3 advanced word processing skillsLesson 3 advanced word processing skills
Lesson 3 advanced word processing skillsEmmanuelaSernicul
 
How to design a report with fine report reporting tool
How to design a report with  fine report reporting toolHow to design a report with  fine report reporting tool
How to design a report with fine report reporting toolFineReport Reporting Tool
 
Dmee sap online_help
Dmee sap online_helpDmee sap online_help
Dmee sap online_helpgabrielsyst
 
Report exchange designer
Report exchange designerReport exchange designer
Report exchange designerBhushan Rajgure
 

Similar to Now that you have your GUI operational, it is time to take the appli.docx (20)

Adobe pagemaker
Adobe pagemakerAdobe pagemaker
Adobe pagemaker
 
Alcenco Label Flow Tutorial
Alcenco Label Flow TutorialAlcenco Label Flow Tutorial
Alcenco Label Flow Tutorial
 
PPT On MS-Access 2007 | Full Concepts |
PPT On MS-Access 2007 | Full Concepts |PPT On MS-Access 2007 | Full Concepts |
PPT On MS-Access 2007 | Full Concepts |
 
How to create pivot table in excel
How to create pivot table in excelHow to create pivot table in excel
How to create pivot table in excel
 
Day1, session ii&iii- spss
Day1, session ii&iii- spssDay1, session ii&iii- spss
Day1, session ii&iii- spss
 
SPSS
SPSSSPSS
SPSS
 
How to Download IDEA for Windows Based ComputersSelect the dow.docx
How to Download IDEA for Windows Based ComputersSelect the dow.docxHow to Download IDEA for Windows Based ComputersSelect the dow.docx
How to Download IDEA for Windows Based ComputersSelect the dow.docx
 
Tableau online training
Tableau online trainingTableau online training
Tableau online training
 
INFORMATION TECHNOLOGY (ICT Skills ).pptx
INFORMATION TECHNOLOGY (ICT Skills ).pptxINFORMATION TECHNOLOGY (ICT Skills ).pptx
INFORMATION TECHNOLOGY (ICT Skills ).pptx
 
Tableau online training || Tableau Server
Tableau online training || Tableau ServerTableau online training || Tableau Server
Tableau online training || Tableau Server
 
Tableau online training || Tableau Server
Tableau online training || Tableau ServerTableau online training || Tableau Server
Tableau online training || Tableau Server
 
Tableau Desktop Material
Tableau Desktop MaterialTableau Desktop Material
Tableau Desktop Material
 
Presentation in computer
Presentation in computerPresentation in computer
Presentation in computer
 
Sale Record System
Sale Record SystemSale Record System
Sale Record System
 
Template builder for word tutorial
Template builder for word tutorialTemplate builder for word tutorial
Template builder for word tutorial
 
Lesson 3 advanced word processing skills
Lesson 3 advanced word processing skillsLesson 3 advanced word processing skills
Lesson 3 advanced word processing skills
 
How to design a report with fine report reporting tool
How to design a report with  fine report reporting toolHow to design a report with  fine report reporting tool
How to design a report with fine report reporting tool
 
Advanced Excel Demo
Advanced Excel DemoAdvanced Excel Demo
Advanced Excel Demo
 
Dmee sap online_help
Dmee sap online_helpDmee sap online_help
Dmee sap online_help
 
Report exchange designer
Report exchange designerReport exchange designer
Report exchange designer
 

More from abhi353063

number 1answer this in a paragraphShare the findings of your DiS.docx
number 1answer this in a paragraphShare the findings of your DiS.docxnumber 1answer this in a paragraphShare the findings of your DiS.docx
number 1answer this in a paragraphShare the findings of your DiS.docxabhi353063
 
number 1complete the attached test called the urbulence Tole.docx
number 1complete the attached test called the urbulence Tole.docxnumber 1complete the attached test called the urbulence Tole.docx
number 1complete the attached test called the urbulence Tole.docxabhi353063
 
number 1Are you a born leader If yes, provide examples of how y.docx
number 1Are you a born leader If yes, provide examples of how y.docxnumber 1Are you a born leader If yes, provide examples of how y.docx
number 1Are you a born leader If yes, provide examples of how y.docxabhi353063
 
number 1complete the attached test called the urbulence Tole.docx
number 1complete the attached test called the urbulence Tole.docxnumber 1complete the attached test called the urbulence Tole.docx
number 1complete the attached test called the urbulence Tole.docxabhi353063
 
number 1answer this one in a pargraphAlthough you may not be.docx
number 1answer this one in a pargraphAlthough you may not be.docxnumber 1answer this one in a pargraphAlthough you may not be.docx
number 1answer this one in a pargraphAlthough you may not be.docxabhi353063
 
Nr  QuestionMarkDiscuss the three main environments that make.docx
Nr  QuestionMarkDiscuss the three main environments that make.docxNr  QuestionMarkDiscuss the three main environments that make.docx
Nr  QuestionMarkDiscuss the three main environments that make.docxabhi353063
 
nron Corporation was launched in 1985, with the merger of Houston Na.docx
nron Corporation was launched in 1985, with the merger of Houston Na.docxnron Corporation was launched in 1985, with the merger of Houston Na.docx
nron Corporation was launched in 1985, with the merger of Houston Na.docxabhi353063
 
Now that you understand the full project lifecycle and how all the p.docx
Now that you understand the full project lifecycle and how all the p.docxNow that you understand the full project lifecycle and how all the p.docx
Now that you understand the full project lifecycle and how all the p.docxabhi353063
 
Now that you sre beginig your second semester as astudent at Califor.docx
Now that you sre beginig your second semester as astudent at Califor.docxNow that you sre beginig your second semester as astudent at Califor.docx
Now that you sre beginig your second semester as astudent at Califor.docxabhi353063
 
Now that you have developed an in-text citation for a summary, parap.docx
Now that you have developed an in-text citation for a summary, parap.docxNow that you have developed an in-text citation for a summary, parap.docx
Now that you have developed an in-text citation for a summary, parap.docxabhi353063
 
Now that you have completed the sections on fiscal and monetary poli.docx
Now that you have completed the sections on fiscal and monetary poli.docxNow that you have completed the sections on fiscal and monetary poli.docx
Now that you have completed the sections on fiscal and monetary poli.docxabhi353063
 
Now that we have decided to become an S Corp after reviewing the var.docx
Now that we have decided to become an S Corp after reviewing the var.docxNow that we have decided to become an S Corp after reviewing the var.docx
Now that we have decided to become an S Corp after reviewing the var.docxabhi353063
 
Novel Shift by Em BaileyDescribe each of the minor characters i.docx
Novel Shift by Em BaileyDescribe each of the minor characters i.docxNovel Shift by Em BaileyDescribe each of the minor characters i.docx
Novel Shift by Em BaileyDescribe each of the minor characters i.docxabhi353063
 
Nothing in science is written in stone.Whenever new discoveries .docx
Nothing in science is written in stone.Whenever new discoveries .docxNothing in science is written in stone.Whenever new discoveries .docx
Nothing in science is written in stone.Whenever new discoveries .docxabhi353063
 
Now my experiment was to go to randomly selected people and ask th.docx
Now my experiment was to go to randomly selected people and ask th.docxNow my experiment was to go to randomly selected people and ask th.docx
Now my experiment was to go to randomly selected people and ask th.docxabhi353063
 
Notice Due today before 12 am pacifAssignment 1 Discussion—Soci.docx
Notice Due today before 12 am pacifAssignment 1 Discussion—Soci.docxNotice Due today before 12 am pacifAssignment 1 Discussion—Soci.docx
Notice Due today before 12 am pacifAssignment 1 Discussion—Soci.docxabhi353063
 
Notes on Hermes I. Hermes and Boundaries A. Hermes’ na.docx
Notes on Hermes I. Hermes and Boundaries A. Hermes’ na.docxNotes on Hermes I. Hermes and Boundaries A. Hermes’ na.docx
Notes on Hermes I. Hermes and Boundaries A. Hermes’ na.docxabhi353063
 
Note. The purpose of this outline is to assist you in gathering th.docx
Note. The purpose of this outline is to assist you in gathering th.docxNote. The purpose of this outline is to assist you in gathering th.docx
Note. The purpose of this outline is to assist you in gathering th.docxabhi353063
 
Note1. The Topic of research is Roller derbysubculture name .docx
Note1. The Topic of research is Roller derbysubculture name .docxNote1. The Topic of research is Roller derbysubculture name .docx
Note1. The Topic of research is Roller derbysubculture name .docxabhi353063
 
Note You may not rely on any fallacy websites. Attempting to use .docx
Note You may not rely on any fallacy websites. Attempting to use .docxNote You may not rely on any fallacy websites. Attempting to use .docx
Note You may not rely on any fallacy websites. Attempting to use .docxabhi353063
 

More from abhi353063 (20)

number 1answer this in a paragraphShare the findings of your DiS.docx
number 1answer this in a paragraphShare the findings of your DiS.docxnumber 1answer this in a paragraphShare the findings of your DiS.docx
number 1answer this in a paragraphShare the findings of your DiS.docx
 
number 1complete the attached test called the urbulence Tole.docx
number 1complete the attached test called the urbulence Tole.docxnumber 1complete the attached test called the urbulence Tole.docx
number 1complete the attached test called the urbulence Tole.docx
 
number 1Are you a born leader If yes, provide examples of how y.docx
number 1Are you a born leader If yes, provide examples of how y.docxnumber 1Are you a born leader If yes, provide examples of how y.docx
number 1Are you a born leader If yes, provide examples of how y.docx
 
number 1complete the attached test called the urbulence Tole.docx
number 1complete the attached test called the urbulence Tole.docxnumber 1complete the attached test called the urbulence Tole.docx
number 1complete the attached test called the urbulence Tole.docx
 
number 1answer this one in a pargraphAlthough you may not be.docx
number 1answer this one in a pargraphAlthough you may not be.docxnumber 1answer this one in a pargraphAlthough you may not be.docx
number 1answer this one in a pargraphAlthough you may not be.docx
 
Nr  QuestionMarkDiscuss the three main environments that make.docx
Nr  QuestionMarkDiscuss the three main environments that make.docxNr  QuestionMarkDiscuss the three main environments that make.docx
Nr  QuestionMarkDiscuss the three main environments that make.docx
 
nron Corporation was launched in 1985, with the merger of Houston Na.docx
nron Corporation was launched in 1985, with the merger of Houston Na.docxnron Corporation was launched in 1985, with the merger of Houston Na.docx
nron Corporation was launched in 1985, with the merger of Houston Na.docx
 
Now that you understand the full project lifecycle and how all the p.docx
Now that you understand the full project lifecycle and how all the p.docxNow that you understand the full project lifecycle and how all the p.docx
Now that you understand the full project lifecycle and how all the p.docx
 
Now that you sre beginig your second semester as astudent at Califor.docx
Now that you sre beginig your second semester as astudent at Califor.docxNow that you sre beginig your second semester as astudent at Califor.docx
Now that you sre beginig your second semester as astudent at Califor.docx
 
Now that you have developed an in-text citation for a summary, parap.docx
Now that you have developed an in-text citation for a summary, parap.docxNow that you have developed an in-text citation for a summary, parap.docx
Now that you have developed an in-text citation for a summary, parap.docx
 
Now that you have completed the sections on fiscal and monetary poli.docx
Now that you have completed the sections on fiscal and monetary poli.docxNow that you have completed the sections on fiscal and monetary poli.docx
Now that you have completed the sections on fiscal and monetary poli.docx
 
Now that we have decided to become an S Corp after reviewing the var.docx
Now that we have decided to become an S Corp after reviewing the var.docxNow that we have decided to become an S Corp after reviewing the var.docx
Now that we have decided to become an S Corp after reviewing the var.docx
 
Novel Shift by Em BaileyDescribe each of the minor characters i.docx
Novel Shift by Em BaileyDescribe each of the minor characters i.docxNovel Shift by Em BaileyDescribe each of the minor characters i.docx
Novel Shift by Em BaileyDescribe each of the minor characters i.docx
 
Nothing in science is written in stone.Whenever new discoveries .docx
Nothing in science is written in stone.Whenever new discoveries .docxNothing in science is written in stone.Whenever new discoveries .docx
Nothing in science is written in stone.Whenever new discoveries .docx
 
Now my experiment was to go to randomly selected people and ask th.docx
Now my experiment was to go to randomly selected people and ask th.docxNow my experiment was to go to randomly selected people and ask th.docx
Now my experiment was to go to randomly selected people and ask th.docx
 
Notice Due today before 12 am pacifAssignment 1 Discussion—Soci.docx
Notice Due today before 12 am pacifAssignment 1 Discussion—Soci.docxNotice Due today before 12 am pacifAssignment 1 Discussion—Soci.docx
Notice Due today before 12 am pacifAssignment 1 Discussion—Soci.docx
 
Notes on Hermes I. Hermes and Boundaries A. Hermes’ na.docx
Notes on Hermes I. Hermes and Boundaries A. Hermes’ na.docxNotes on Hermes I. Hermes and Boundaries A. Hermes’ na.docx
Notes on Hermes I. Hermes and Boundaries A. Hermes’ na.docx
 
Note. The purpose of this outline is to assist you in gathering th.docx
Note. The purpose of this outline is to assist you in gathering th.docxNote. The purpose of this outline is to assist you in gathering th.docx
Note. The purpose of this outline is to assist you in gathering th.docx
 
Note1. The Topic of research is Roller derbysubculture name .docx
Note1. The Topic of research is Roller derbysubculture name .docxNote1. The Topic of research is Roller derbysubculture name .docx
Note1. The Topic of research is Roller derbysubculture name .docx
 
Note You may not rely on any fallacy websites. Attempting to use .docx
Note You may not rely on any fallacy websites. Attempting to use .docxNote You may not rely on any fallacy websites. Attempting to use .docx
Note You may not rely on any fallacy websites. Attempting to use .docx
 

Recently uploaded

KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 

Recently uploaded (20)

KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 

Now that you have your GUI operational, it is time to take the appli.docx

  • 1. Now that you have your GUI operational, it is time to take the application a step further. Management would like you to write the entered data into a file. They intend to use an application to read this file, evaluate the entered data, and display results. These results will help management to make decisions on sales force direction and expansion. Each time the ENTER button is pressed, the entered sales representative’s data will be written out to a file. A new button, EVALUATE will be added that reads in the sales representative’s data file after it has been created. Design Requirements: You must use pseudocode to design your algorithm for the ENTER button functionality.These design artifacts (pseudocode) will be inserted into a design document to be reviewed by your classmates and submitted with the final application for the final task. Application Requirements: Expand your Swing application to write the entered data out to a text file. Instead of displaying the data in the jTextArea when ENTER is pressed, change this functionality so that the data is written to a file. Name the output file salesrep.txt. Each time the ENTER button is pressed, the data will be written to the file. Write the data in the following format to a text file, using white spaces as the delimiter. Include the categories (SUPPLIES, BOOKS, PAPER) in your file to label the dollar amount sold for each category. The sales district entered should be converted to upper case (NORTH, SOUTH, EAST, WEST). Independent line separators should be used in the output file. Code for the ENTER button should be well commented. Format of your file: salesRepID firstName lastName SUPPLIES totalAmountSuppliesSold BOOKS totalAmountBooksSold PAPER totalAmountPaperSold district contactMeans Example output file contents: 1001 Jennifer Ward SUPPLIES 2140.20 BOOKS 5200.10
  • 2. PAPER 455.23 NORTH Phone 1003 Athena Andrews SUPPLIES 5155.55 BOOKS 6300.50 PAPER 223.25 SOUTH Email Each time the ENTER button is pressed, the application should append a new line to the file. When the application starts, the file should be opened for appending. This file is to keep a running history of the entered data