Question: SHOW ALL THE CODE AND CLASSES FOR THE FOLLOWING! You should work in groups of 2 or 3 for this program. No one should work

SHOW ALL THE CODE AND CLASSES FOR THE FOLLOWING! You should work in groups of 2 or 3 for this program. No one should
work alone.
Design and code a program that simulates an auction. You should
consider the following:
A file contains a list of a minimum of 5 items to be auctioned. You can
decide on the format of this file and its contents. For example, the file
could look like this:
Oldsmobile, oldsmobile.gif, 100
World Cup soccer ticket, soccerTickets.gif, 50
Trip for 2 to Rome, trip.gif, 100
60 LCD TV, tv.gif, 300
Movie night basket, basket.gif, 20
In the preceding file sample, each line represents an item as follows:
the first field is the items description, the second field is the name of a
file containing an image of the item, and the third field is the minimum
bid. You can assume that each items description is unique. You should
read in the contents of a file into an array.
Items are offered via an online-like auction. (You do not need to include
any network programming; your program is a single-computer
program.) Users of the program can choose which item to bid on from a
list or a combo box. Along with displaying the description of the item,
your program should show a picture of the item and the current highest
bid (at the beginning, the current highest bid is the minimum bid).
Users bid on an item by selecting the item, typing their name (you can
assume that a different name will be used each time), and entering a
price for the item. Your program should remember the highest bidder
and the highest bid for each item by writing the information to a file.
Furthermore, each time a bid is made, the items highest bid, displayed
on the screen, should be updated if necessary.
There needs to be a button at the bottom of the page that ends the
auction. At the end of the auction, a new page should display showing
the name of the highest bidder, the details of the item and the winning
bid.
The design of your GUI is important. Use color and layouts to make it
visually appealing.
Be sure to include the name of each team member at the top of the
file.
Grading Criteria:
(40 points) Program compiles and runs
(7 points) Reads in the file and stores the data into an array
(3 points) Uses a list box or combo box to display the item with all
details
(3 points) Current highest bid is displayed
(7 points) Ability to bid on an item
(7 points) The name of the highest bidder and the highest bid
should be written to a file
(3 points) Update file each time a bid is made
(7 points) Separate screen showing winning bids at end of auction.
(3 points) Button at bottom of screen that ends auction
(5 points) Documentation
(15 points) Design- Any number of points from 1-15 can be
deducted for design issues.
Show the code for the question above and create a view. main, controller, and model classes. Please show every line of code needed.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!