Copyright © 1998 Sita Ramakrishnan, Monash University All rights reserved

Light Views

HomeCase StudiesOO TheoryHelp

Beaches and Parking Case Study

Demo Description

This section will explain the applets individually to give users an inside look of what is involved in making the applets work together. There are four applets that make up the case study, the BeachMap, BeachInfo, BeachParking and BeachStatistic applets.

The following is a brief explanation of what each applet does:

BeachMap

The BeachMap applet is the main applet that controls the loading of data and it is also the first applet that the user can interacts with. It displays a map that shows some of the famous beaches around the coast of New South Wales. The user can select Bondi, Palm, Coogee and Bronte beaches, each of them is identified by rectangles to help a first timer.

BeachInfo

BeachInfo's purpose is to displays beach pictures and other information as requested. When a beach has been selected BeachMap will inform BeachInfo about the selection. In this applet where most of the user interactions will take place. Other than displaying the images of the beach, it will also play a sound clip that the user can turn off at any time by clicking the mute button. There are two other buttons, one is to display the parking information (on BeachParking applet) and the other is to display a chart of number of visitors (in BeachStatistic).

BeachParking

BeachParking is a spreadsheet implementation under Java but it has been modified not to accept any input from user. The data will be displayed in the following format:

                time1    time2    time3

    day1      20          30        40

    day2      20          30        40

    ...

BeachStatistic

BeachStatistic draws a bar chart to represent the number of visitors in a particular period of time.

 


Funded by Committee of University Teaching And Staff Development (CUTSD) through DEETYA, 1998