Update an existing java program using the netbeans ide

Assignment Help JAVA Programming
Reference no: EM131447231 , Length: 3


For this Assignment, you will update an existing Java program using the NetBeans IDE. You will use the NetBeans Integrated Development Environment to make changes to an existing NetBeans Java Project. This existing program correctly sorts the data without using threads and contains a method (threadedSort) that you will update to sort the data using threads.

To prepare:

• Download and Install NetBeans:

• Download the Java SE bundle. (Note: Select the most recent release version, not a Beta version.)
Run the downloaded package to install it. Choose the default options for installation.

• Unzip and open the Unthreaded Program:

Download and unzip the file Week2_Project.zip. This will create a folder containing a NetBeans Project with the non-threaded java program. Note the location of this folder.

Launch the NetBeans IDE. Click the Open Project... button (Or click the File drop-down menu and select Open Project...). Navigate to the project folder, select it, and click Open Project.

The Java Project contains three class files: MergeSort.java, Sort.java, and SortTest.java. Double-click each file in the Project section (at the left of the NetBeans IDE window) to display the file's contents. Each of the Java class files contains comments explaining the purpose of the class and the purpose of the class' methods.

Modify the Java program by adding threads, and analyze the performance of both the threaded and non-threaded versions.

• Modify the Program:

Improve the performance of the Java program by adding threads to the Sort.java file. Implement the threadedSort() method within the Sort class. Reuse any of the existing methods by calling them as necessary from your threadedSort method. You may add additional methods to the Sort class, if necessary.

• Analyze the Program:

When running the provided SortTest program, the output presents data to support analyzing the performance of the threaded and non-threaded sort methods. Analyze your threaded implementation by comparing its performance to the original non-threaded implementation and explain the measured behavior

. Document your analysis as a short paper (1-3 pages), using APA format. Be sure to discuss the relative performance improvement you expect for your threaded implementation and how the expected performance compares to the measured performance.

Reference no: EM131447231

How use of asnychronous javascript and xml impacts

Assignments one and six of this course are closely related. The 6th assignment involves writing a research report (more specifically, a literature review) on a topic related

Create an application that keeps tracks of the information

Create an application that keeps tracks of the information in such a simple social network. More specifically, your application will allow for user profiles to be added to,

Solving programming problems

Write a computer program that will figure out the total of an order when given the amount of the order ($1000) and a sales tax rate of eight percent.

Create a new savings account

You are a bank manager and you are helping a new bank teller understand the kind of accounts the bank offers. If a customer comes in asking to open a new savings account, th

Write a java program that stores these integers

3. Write a java program that stores these integers 10, 20, 30, 40, 20 in an array named nums. Write the code to count all the occurrences of 20 and then display the count.

The user enters an invalid value for hours

Write a program that prompts the user to enter time in 12-hour notation. The program then outputs the time in 24-hour notation. Your program must contain three exception class

Create class hourlyemployee that inherit from class employee

Create class HourlyEmployee that inherits from class Employee and has instance variable hours (a double) that represents the hours worked, instance variable wage (a double)

How else will you continue to maintain your website

Based on your usability test, what steps will take to update and improve your website? Will you register a domain name and host your website live? If yes, with what host? How


Write a Review

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