## AWT vs BWT Demo

### Description

This directory contains the AWT vs BWT demo, 2 java programs that illustrate some of the differences between the AWT and BWT components. The demo is a simple book ordering program that allows the user to select books from a catalogue and fill out an order form.

### BWT version

### AWT version

### Sample Applet

Above you will see the BWT and AWT versions of the Book Order applet. The applet is organzied as a list containing a book catalogue, a line of price information, and a wizard for filling out ordering information.

The catalogue contains information (such as title, other, price, stock status) on a number of books. Clicking on a book will place the current quantity to order along with the price per item and total price in the price line below the catalogue. To change the quantity to order of a book, enter the quantity in the quantity field of the price line and press the "Add To Order" Button. Alternately, to increase the quantity of a book to order by one, double click on the appropriate item in the catalogue.

The wizard collects the information needed to process an order. It can be navigated either by the tabs or buttons on the top of the wizard or by the "Next" and "Prev" buttons on the bottom of each page. When bringing up the "Send" page of the wizard, the catalogue will be queried and all books with quantitites to order will be presented in a list as the final order.

### Source Code

The source code is organized into the following files:

1. The BWT version
2. The AWT version