Develop a java application to meet the requirements

Assignment Help JAVA Programming
Reference no: EM13807804

As a competent programmer, your understanding of control structures, your ability to design and develop algorithms, and your proficient use of data structures will help you design and develop applications to meet customer requirements. You will need to develop a Java application to meet the requirements of this assignment. It is recommended that you use NetBeans (see web link below for download) to develop this.

You will use the following scenario to complete the task:

Your client is a real estate office manager who needs to run reports on property listings. You will build two applications that will provide two different reports. One report is focused on the amount of property an agent is selling. The other report provides an overview of the types of property for sale.

Your listings file will contain property number, property type, price, and agent id.

Task:

A. Develop an application that reads your listings.txt file, analyzes the property listed per agent, and outputs a report to an agentreport.txt file. Your application should do the following:

1. Prompt the user for the name of the input file (listings.txt).

2. Open listings.txt file and read in property listings.

3. Store each property type into a Set.

a. Convert property type to upper case before adding to your Set using method(s) from String class.

b. Sort your Set of property types alphabetically.

4. Use a Map to calculate total property listed in dollars and cents for each agent id.

• Sort your Map by agent id.

• Create an agentreport.txt file.

5. Use an Iterator to iterate through your Set and write your sorted set of property types sold by the agents to the agentreport.txt file.

6. Iterate through your Map to write your sorted pair of agent id and total property listed to the agentreport.txt file.

B. Develop an application that reads your listings.txt file, analyzes the properties listed, and outputs an overview of properties listed to an overview.txt file. Your application should do the following:

1. Prompt the user for the name of the input file (listings.txt).

2. Open the listings.txt file and read in property listing information using a buffered FileReader.

3. Count the total number of property listings for sale.

• Use buffered FileWriter to write the count of the number of property listings to your overview.txt file.

4. Calculate the total value of property for sale.

• Use a buffered FileWriter to write the total value of properties currently for sale.

5. Store each property id into an ArrayList.

a. Sort the ArrayList of property ids using natural ordering.

b. Use a for-each loop to iterate through the sorted ArrayList and write property ids to overview.txt file using buffered FileWriter.

6. Use buffered FileWriter to write the total value of the properties listed and the total number of properties currently for sale.

Reference no: EM13807804

Questions Cloud

How hospitality and tourism different in social impacts : Write an essay will compare two regions to determine how hospitality and tourism are different in regards to economic, cultural and social impacts and secondly Why these areas are important to each region.
Predicting the future of iran : Predicting the Future of Iran
Different types of contracts : We have spent time discussing the delivery methods for a project. Now it's time to focus on the different types of contracts that are associated with construction projects. The project owner must decide which type of contract to use. The contract ..
The estimated population mean based problems : If we select a random sample of 50 households, what is the standard error of the mean?
Develop a java application to meet the requirements : As a competent programmer, your understanding of control structures, your ability to design and develop algorithms, and your proficient use of data structures will help you design and develop applications to meet customer requirements. You will ne..
Global economy-between free trade and protectionism : Globalization was welcomed around the world at the beginning of the 1990s. Different trade theories were used to explain benefits of free trade and market liberalization. However, by the end of the twentieth century, voices of discontent were begi..
Organization''s strategic management process : Describe how key internal factors are identified in an organization's strategic management process. Why does such identification appear to be an important part of the strategic management process?
Careers in human services : Careers in Human Services
Widgets r us experience communication issues : It is clear that Widgets R US is a functional organization because it indicated that lots of information gets kicked upstairs and no one seems to know what is happening. If you are running projects in a functional organization like Widgets R US wh..

Reviews

Write a Review

JAVA Programming Questions & Answers

  Create a user interface for a library application

Create a user interface for a library application that allows the user (i.e., the Librarian) to enter Book objects.

  Productexception class whose constructor

Create a ProductException class whose constructor receives a String that consists of a product number and price. Save the file as ProductException.java. Create a Product class with two fields, productNum and price. The Product constructor requires va..

  Definition of constant initialization arrays

You have to extend the definition of constant initialization arrays to multi-dimensional arrays

  Evaluate the rtas resource requirements

Design and implement a set of classes and interfaces and use them to evaluate the RTA's resource requirements.

  Create a web application for sheridan restaurant

Create a web application for Sheridan Restaurant Reviews that contains the following functionality - Display a table of all restaurants based on the city entered by the user

  Follow the projects suggestion

Be sure that you follow the projects suggestion and create a separate class for the word analysis. An instance of this class and its methods should then be called by your GUI interface.

  Complete the method definitions in linkedqueue.java

Complete the method definitions in LinkedQueue.java. Some things to think about- In enqueue() and dequeue() you have to maintain both the front and back pointers - this takes a little thought. In particular, in enqueue be careful of the case where..

  Translates a number into the closest letter grade

Write a program that translates a number into the closest letter grade. For case, the number 2.8 which might have been the average of several grades would be converted to B-

  Demonstrate the use of array or arraylist

It will calculate the additional amount of sales that each salesperson must achieve to match or exceed the higher of the two earners. The application should ask for the name of each salesperson being compared.

  What is the starting index of an array

What are your concerns? In Java, what is the starting index of an array

  Array named peopletypes that can store a maximum

Define a 1-D array named peopleTypes that can store a maximum of 50 integer values that will be entered at the keyboard. Enter a series of 1's, 2's, 3's and 4's into the array, where a 1 represents an infant, a 2 represents a child, a 3 represents..

  Java application that reads a date in numeric form

Designand write a java application that reads a date in numeric form from a set of three fields and displays it in English within a label. Use appropriate buttons. For Example:

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd