The Artima Developer Community
Sponsored Link

Java Answers Forum
hey..java

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Cshah

Posts: 16
Nickname: tkc204
Registered: Oct, 2002

hey..java Posted: Nov 21, 2002 7:04 PM
Reply to this message Reply
Advertisement
Write either an applet or a program (your choice) which allows a user to enter and edit an order for merchandise.

There must be a selection of at least 3 things the user can order. (You can decide what the things are.)
The user must be able to specify a quantity for each thing, e.g. 2 shirts, no socks, and 1 hat. Sanity check the inputs, i.e. don't allow a negative quantity or an outrageously large quantity.
Each thing must have a price. Each time the user updates the quantity of an item, you must recalculate and display the order total.
The user must also specify a shipping name and address.
You must accept input using a graphic user interface, e.g. text input boxes.
The user must be able to modify the information as often as desired and in any order. For example, change the number of socks, then change the street address, then change the number of socks again.
You must provide a "submit" function that, when the user is all done, displays the entire final order. (You may display it either on the console output or in a window.) Make sure the user has specified a name and address before allowing the order to be submitted.

Topic: converting html form in a MS Word document Previous Topic   Next Topic Topic: Fat Client

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use