poramin rattanasuwan ise582 project bookstore objective : create a java application for use in a...

4
Poramin Rattanasuwan ISE582 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 mouse on the picture. Calculate the total price and total discount. Demonstrate the list of bought products, total price and total discount.

Post on 21-Dec-2015

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Poramin Rattanasuwan ISE582 Project Bookstore Objective : create a JAVA application for use in a store. This application must be able to –Show the product

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.

Page 2: Poramin Rattanasuwan ISE582 Project Bookstore Objective : create a JAVA application for use in a store. This application must be able to –Show the product

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

Page 3: Poramin Rattanasuwan ISE582 Project Bookstore Objective : create a JAVA application for use in a store. This application must be able to –Show the product

• 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.

Page 4: Poramin Rattanasuwan ISE582 Project Bookstore Objective : create a JAVA application for use in a store. This application must be able to –Show the product