Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Java Expert


Home >> Java

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.

Java, Programming

  • Category:- Java
  • Reference No.:- M93085602
  • Price:- $120

Guranteed 48 Hours Delivery, In Price:- $120

Have any Question?


Related Questions in Java

Assignment taskwrite a java console application that allows

Assignment task Write a java console application that allows the user to read, validate, store, display, sort and search data such as flight departure city (String), flight number (integer), flight distance (integer), fl ...

Can someone kindly help me to consider whether java

Can someone kindly help me to consider whether Java provides the facility of operator overloading? If it does, may you kindly describe how overloading operators can be accomplished? If not, may you kindly describe why yo ...

Assignment - java program using array of objectsobjectives

Assignment - JAVA Program using array of objects Objectives - This assessment item relates to the course learning outcomes as stated in the Unit Profile. Details - For this assignment, you are required to develop a Menu ...

Answer the following question whats the difference public

Answer the following Question : What's the difference public inheritance and private inheritance? What can derived classes inherit from base classes? What cannot be inherited from base classes?

Operating systems assignment -problem 1 sharing the bridgea

Operating Systems Assignment - Problem 1: Sharing the Bridge A new single lane bridge is constructed to connect the North Island of New Zealand to the South Island of New Zealand. Farmers from each island use the bridge ...

Can someone help me please with those question1what is the

Can someone help me please with those question 1:what is the best data type for student id datatime,currency,number,decimal 2:which relationshipis preferable? one to one,one to many,many to many 3:if you add table A's pr ...

Assignment game prototypeoverviewfor this assessment task

Assignment: Game Prototype Overview For this assessment task you are expected to construct a prototype level/area as a "proof of concept" for the game that you have designed in Assignment 1. The prototype should function ...

Fundamentals of operating systems and java

Fundamentals of Operating Systems and Java Programming Purpose of the assessment (with ULO Mapping) This assignment assesses the following Unit Learning Outcomes; students should be able to demonstrate their achievements ...

Retail price calculatorwrite a java program that asks the

Retail Price Calculator Write a JAVA program that asks the user to enter an item's wholesale cost and its markup percentage. It should then display the item's retail price. For example: (If an item's wholesale cost is 5. ...

Chatbotscreate a small networked chat application that is

Chatbots Create a small, networked chat application that is populated by bots. Introduction On an old server park, filled with applications from the early days of the internet, a few servers still run one of the earliest ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As