Poramin Rattanasuwan ISE582 Project Bookstore Objective : create a JAVA application for use in a...
-
date post
21-Dec-2015 -
Category
Documents
-
view
213 -
download
0
Transcript of Poramin Rattanasuwan ISE582 Project Bookstore Objective : create a JAVA application for use in a...
Poramin Rattanasuwan ISE5 8 2 Project
Bookstore
• Objective : create a JAVA application for use in a store.
• This application must be able to – Show the product picture, price and discount.– Allow customer to choose the products by click mou
se on the picture.– Calculate the total price and total discount.– Demonstrate the list of bought products, total price
and total discount.
Bookstore• Bookstore
– In a bookstore we have some different kinds of book.
– Each book has individual picture, price and discount value.
• Program– 7 classes in this program
• Class description– 1.Book : containconstructorforparameters(name,price,discount)– 2. Const : set number of books– 3. Shelf : contain array of book parameters– 4.Cart :
get the information of selected book.– 5 Cashier : calculate total price and discount a
nd make the bill.– 6 Summary : set the frame for state the bill– 7 StoreUI : make the frame for contact with cu
stomer.