Develop a Java program that creates a standalone GUI application that simulates an e- store (we'll...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Develop a Java program that creates a standalone GUI application that simulates an e- store (we'll call our store Nile Dot Com... we're not quite as big as Amazon.com!)' which allows the user to add in stock items to a shopping cart and once all items are included, total all costs (including tax), produces an invoice, and append a transaction log file. 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. Each line in this file contains four entries; an item id (a string), a quoted string containing the description of the item, an in stock status (a string), and the unit price for one of the item (a double). A sample file is provided for you on WebCourses. Feel free to create your own input file for testing purposes or augment the provided input file. 3. 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 Vaind permutation of the date/time string when the transaction occurred Go to Settings to a Develop a Java program that creates a standalone GUI application that simulates an e- store (we'll call our store Nile Dot Com... we're not quite as big as Amazon.com!)' which allows the user to add in stock items to a shopping cart and once all items are included, total all costs (including tax), produces an invoice, and append a transaction log file. 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. Each line in this file contains four entries; an item id (a string), a quoted string containing the description of the item, an in stock status (a string), and the unit price for one of the item (a double). A sample file is provided for you on WebCourses. Feel free to create your own input file for testing purposes or augment the provided input file. 3. 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 Vaind permutation of the date/time string when the transaction occurred Go to Settings to a
Expert Answer:
Related Book For
Starting Out With Java From Control Structures Through Data Structures
ISBN: 9780133957051
6th Edition
Authors: Tony Gaddis
Posted Date:
Students also viewed these programming questions
-
Predictive text entry systems are familiar on touch screens and mobile phones. This question asks you to consider how the same principles might be used in a programming editor for creating Java code....
-
: (i) What data structures are maintained by the page manager. (ii) What happens when a machine performs a read operation to a page. (iii) What happens when a machine performs a write operation to a...
-
Consider constant marginal abatement cost for two firms: (a) Determine the optimal allocation for both firms when the damage function is convex, and when it is linear. (b) Is it possible to achieve...
-
What is the open architecture philosophy in control systems design?
-
HR Industries (HRI) has a beta of 1.8, while LR Industries (LRI) beta is 0.6. The risk-free rate is 6%, and the required rate of return on an average stock is 13%. The expected rate of inflation...
-
Describe a possible sequence of fabrication processes that might be used to manufacture the helicopter rotor blade in Figure 1.12. Note that several different materials and fiber lay-ups are used....
-
As of June 30, 2012 (the computation date for the 2013 tax rate), Amanda Company had a negative balance of $1,015 in its unemployment reserve account in State A. The company's average payroll over...
-
According to this article, what ABA rules do you consider would apply to this case, and what analytical questions would be important to analyze in the ethical duty of lawyers and judges. Since I did...
-
A bond is available for purchase in the financial markets. The bond is a 3-year, $1,000 bond that pays an annual coupon of 10 percent. What is the duration of the bond if the current...
-
Leadership Style and Impact: Assess the three key elements of a leadership style and the impact that those elements can make on business success. Provide background for the answer and detailed...
-
On the first day of the fiscal year, a company issues a $990,000, 8%, 5-year bond that pays semiannual interest of $39,600 ($990,000 x 8% x 1/2), receiving cash of $884,176. Journalize the entry for...
-
Suppose that Apple unexpectedly released a new product yesterday that no market participants were expecting. If Apple's return yesterday was 4.55%, while the market's return was 2.57%, then what was...
-
Explore the concept of cellular senescence, elucidating the molecular pathways and epigenetic modifications involved in the aging process and its implications for tissue homeostasis and disease...
-
Should you have posted that? Highlight social media posts and shared content that make someone look good to a potential employer. And look for social media posts and shared content that don't make...
-
Why is project cost management important to a project and a project manager?
-
You've been asked to take over leadership of a group of paralegals that once had a reputation for being a tight-knit, supportive team, but you quickly figure out that this team is in danger of...
-
A positively charged particle creates the electric field shown in Figure 30. 20. When the kinks in the electric field lines reach the rod, what is the direction of the current induced in the rod?...
-
Suppose the current shown in Figure 30. 19 discharges the capacitor. What are the directions of \(\vec{E}\), \(\Delta \vec{E}\), and \(\vec{B}\) between the plates of the discharging capacitor? Data...
-
For the oscillating dipole of Figure 30. 14, sketch the electric field pattern at \(t=\frac{5}{4} T\). Data from Figure 30.14 0=1 t = T t=T 1=T O O D
Rigos Primer Series CPA Exam Review Regulation Text 2021 2021 Edition - ISBN: B08NZSKK1W - Free Book
Study smarter with the SolutionInn App