Smb4103-introduction to programming - applied project -


Assignment

Topics Covered
- Designing a Java application
- Java I/O and Data types
- Control Structure-Decision
- Control Structure-Loops
- String Handling
- Arrays and Array lists
- Exception Handling
- Files I/O and streams
- GUI

Background

The Proprietary Group (PG) company is a business organization in selling land and house package to the customers that are interested to buy property for living in or investment purposes. Customers can either buy land and build later or they can buy a house. The lands available for sale vary in terms of area that is specified in square meters. Houses vary in terms of number of bedrooms. Houses are built on independent block of land.

The price of land depends on the area of land while the price of house depends on land area as well as number of bedrooms. The PG sales manager wants a system to be developed that can calculate approximate price of these lands and houses. The price details are as follows:

A. For Land: $800 per m2.

B. For House:

I. If land area is less than 600 m2, the price as follows:
- For 1, or 2 bedrooms: $900 per m2.

- For 3 bedrooms and more: $1000 per m2.

II. If land more than 600 m2, above prices increase by 15%.

Task Specifications

You are required to write a Java GUI program using Netbeans IDE or any other suitable java developer IDE. Your task is to design and code a Java program that will achieve the following:

- Display a Welcome dialog window using GUI that shows a welcome message to the user and allows the user to choose whether to enter and save property details or display all property details.

- When the user selects enter and save property, a new dialog window to be displayed and allowed the user to select property type (Land or House) and enter propriety address, area and number of bad rooms for the house. Two buttons must be included in this dialog window: Save and Cancel. The property data must be stored in a text file "property.txt" when the user selects the Save button and return to the Welcome dialog. However, the Welcome dialog to be displayed without saving any data if the user selects the Cancel button.

- When the user selects to display all property, a display dialog window should be appeared shows the details of each property including type, address, area, number of bed rooms for the house, and the estimated price. The property details must be read from the "property.txt" file. Three buttons must be included in this dialog window: Next, Back and Cancel. The next or previous property details to be shown when the user selects the Next or Back button, respectively. The Welcome dialog window to be displayed when the user selects the Cancel button.

- The program terminates when the user selects the X exit.

- All the GUI dialog windows must be well design with the proper layouts and titles.

- Create the required classes including "Land" and "House" classes with the required methods and variables.

- Program should be properly commented and indented.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Smb4103-introduction to programming - applied project -
Reference No:- TGS02891588

Expected delivery within 24 Hours