Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CNT 4714-Programming Assignment #1-Spring 2018 Title: Program Assignment 1: Event-Driven Programming Points: 100 points Due Date: Sunday January 28, 2018 by 11:59 pm (WebCourses time)

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

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

CNT 4714-Programming Assignment #1-Spring 2018 Title: "Program Assignment 1: Event-Driven Programming" Points: 100 points Due Date: Sunday January 28, 2018 by 11:59 pm (WebCourses time) Objectives: To practice event-driven programming using Java-based GUIs. To refresh your basic Java sKills. Description: Develop a Java program that creates a standalone GUI application (not an applet) that simulates an e-store which allows the user to add items (books) to a shopping cart and once all items are included, total all costs (including tax), produces an invoice, and append a transaction log Your program development must include the following steps 1. Create a main GUI containing the following components a. An area that allows the user to input data into the application along with the descriptive text that describes each input area. b. A total of six buttons as shown below with functionality as described below c. As illustrated below, the various buttons on the interface are only accessible at certain points during a user's interaction with the e-store 2. An input file named "inventory.txt". This is a comma separated file which contains the data that will be read by the application when the user makes a selection. A sample file is provided for you on WebCourses An output file (append only) named "transactions.txt" must be created that uniquely logs each user transaction with the e-store. The unique transaction id will be generated as a permutation of the date/time string when the transaction occurred 3. Restrictions: Your source file shall begin with comments containing the following information Name: Course: CNT 4714 - Spring 2018 Assignment title: Program 1- Event-driven Programming Date: Sunday January 28, 2018 Input Specification: The file "inventory.txt" as described above (see example below as well). Output Specification: Output is to appear in the specified components of the GUI and various message boxes that appear, plus the contents of the "transactions.txt" log file that will be generated Deliverables: (1) Submit a working copy of your source code(a java files) via WebCourses no later than 11:59pm Sunday January 28, 2018 Page l CNT 4714-Programming Assignment #1-Spring 2018 Title: "Program Assignment 1: Event-Driven Programming" Points: 100 points Due Date: Sunday January 28, 2018 by 11:59 pm (WebCourses time) Objectives: To practice event-driven programming using Java-based GUIs. To refresh your basic Java sKills. Description: Develop a Java program that creates a standalone GUI application (not an applet) that simulates an e-store which allows the user to add items (books) to a shopping cart and once all items are included, total all costs (including tax), produces an invoice, and append a transaction log Your program development must include the following steps 1. Create a main GUI containing the following components a. An area that allows the user to input data into the application along with the descriptive text that describes each input area. b. A total of six buttons as shown below with functionality as described below c. As illustrated below, the various buttons on the interface are only accessible at certain points during a user's interaction with the e-store 2. An input file named "inventory.txt". This is a comma separated file which contains the data that will be read by the application when the user makes a selection. A sample file is provided for you on WebCourses An output file (append only) named "transactions.txt" must be created that uniquely logs each user transaction with the e-store. The unique transaction id will be generated as a permutation of the date/time string when the transaction occurred 3. Restrictions: Your source file shall begin with comments containing the following information Name: Course: CNT 4714 - Spring 2018 Assignment title: Program 1- Event-driven Programming Date: Sunday January 28, 2018 Input Specification: The file "inventory.txt" as described above (see example below as well). Output Specification: Output is to appear in the specified components of the GUI and various message boxes that appear, plus the contents of the "transactions.txt" log file that will be generated Deliverables: (1) Submit a working copy of your source code(a java files) via WebCourses no later than 11:59pm Sunday January 28, 2018 Page l

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

Students also viewed these Databases questions