SlideShare a Scribd company logo
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

Adobe pagemaker
Adobe pagemakerAdobe pagemaker
Adobe pagemaker
Umamaheshwariv1
 
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 excel
AashirJamil
 
Day1, session ii&iii- spss
Day1, session ii&iii- spssDay1, session ii&iii- spss
Day1, session ii&iii- spss
abir 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.docx
wellesleyterresa
 
Tableau online training
Tableau online trainingTableau online training
Tableau online training
suresh
 
INFORMATION TECHNOLOGY (ICT Skills ).pptx
INFORMATION TECHNOLOGY (ICT Skills ).pptxINFORMATION TECHNOLOGY (ICT Skills ).pptx
INFORMATION TECHNOLOGY (ICT Skills ).pptx
ArshveerSinghDhillon
 
Tableau online training || Tableau Server
Tableau online training || Tableau ServerTableau online training || Tableau Server
Tableau online training || Tableau Server
United Trainings
 
Tableau online training || Tableau Server
Tableau online training || Tableau ServerTableau online training || Tableau Server
Tableau online training || Tableau Server
United Trainings
 
Tableau Desktop Material
Tableau Desktop MaterialTableau Desktop Material
Tableau Desktop Material
Kishore Chaganti
 
Presentation in computer
Presentation in computerPresentation in computer
Presentation in computerjamesburrydanay
 
Sale Record System
Sale Record SystemSale Record System
Sale Record System
kalpita surve
 
What Are the Key Steps in Scraping Product Data from Amazon India.pptx
What Are the Key Steps in Scraping Product Data from Amazon India.pptxWhat Are the Key Steps in Scraping Product Data from Amazon India.pptx
What Are the Key Steps in Scraping Product Data from Amazon India.pptx
Productdata Scrape
 
What Are the Key Steps in Scraping Product Data from Amazon India.pdf
What Are the Key Steps in Scraping Product Data from Amazon India.pdfWhat Are the Key Steps in Scraping Product Data from Amazon India.pdf
What Are the Key Steps in Scraping Product Data from Amazon India.pdf
Productdata Scrape
 
Lesson 3 advanced word processing skills
Lesson 3 advanced word processing skillsLesson 3 advanced word processing skills
Lesson 3 advanced word processing skills
EmmanuelaSernicul
 
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
FineReport Reporting Tool
 
Advanced Excel Demo
Advanced Excel DemoAdvanced Excel Demo
Advanced Excel Demo
Pecific University
 

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
 
SPSS
SPSSSPSS
SPSS
 
Day1, session ii&iii- spss
Day1, session ii&iii- spssDay1, session ii&iii- spss
Day1, session ii&iii- 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
 
What Are the Key Steps in Scraping Product Data from Amazon India.pptx
What Are the Key Steps in Scraping Product Data from Amazon India.pptxWhat Are the Key Steps in Scraping Product Data from Amazon India.pptx
What Are the Key Steps in Scraping Product Data from Amazon India.pptx
 
What Are the Key Steps in Scraping Product Data from Amazon India.pdf
What Are the Key Steps in Scraping Product Data from Amazon India.pdfWhat Are the Key Steps in Scraping Product Data from Amazon India.pdf
What Are the Key Steps in Scraping Product Data from Amazon India.pdf
 
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
 

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.docx
abhi353063
 
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
abhi353063
 
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
abhi353063
 
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
abhi353063
 
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
abhi353063
 
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
abhi353063
 
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
abhi353063
 
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
abhi353063
 
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
abhi353063
 
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
abhi353063
 
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
abhi353063
 
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
abhi353063
 
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
abhi353063
 
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
abhi353063
 
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
abhi353063
 
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
abhi353063
 
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
abhi353063
 
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
abhi353063
 
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
abhi353063
 
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
abhi353063
 

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

TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 

Recently uploaded (20)

TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 

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