Briefly describe the programs requirements

Assignment Help JAVA Programming
Reference no: EM131897985

Assignment

OBJECTIVES

· Create a GUI that uses JTextField, JLabel, and JButton.

· Write event handlers to process user data.

PROBLEM: Health Profile App

GymsRUs would like to replace their console program with an updated app using a graphical user interface. You will use the HealthProfile class that you created in the Lab and build a GUI for it.

FUNCTIONAL REQUIREMENTS

Make sure your HealthProfile class from the Lab is in a named package, not default (i.e., package lab1).

You must ADD the project that contains the HealthProfile class to this week's project by

right click project, go to properties; and

click Libraries, Add Project, click OK.

Then you will be able to reference your existing class as

import lab1.HealthProfile.

Your project will have three classes:

· HealthProfile class from Lab

· HealthProfileGUI class

· Lab2Main class

Your HealthProfildGUI class should have the following components (see sample GUI below).

· JTextField objects to enter: name, age, height in feet, height in inches, weight in pounds

· JButton objects to display results, clear the GUI

· JTextField objects to display the BMI, category, and max heart rate

· JLabels to describe all textboxes

You are free to layout and design your GUI as you like as long as it includes these components.

Add default and parameterized constructors to your HealthProfile class. The parameterized constructor should have five arguments: the name, age, weight, height in feet, and height in inches. Note it should convert the height to inches to store in the private instance variable.

Code event handlers for each button:

· Display: Make sure all user input is present and valid

Use the HealthProfile class to process the data

Display the results on the GUI

· Clear Clear all text boxes on the GUI

Lab Report

Objective/Purpose of the program

Briefly describe the program's requirements.

Analysis/Design

Describe the approach/structure of program.What classes/functions were used?

Testing/Results

Does your program satisfy all requirements of the lab?

If yes, how did you test it? Indicate test cases used, expected values, and show results with screen shots. For example:

Case

Description

Test Data

Expected Result

Actual Result

1

Describe what you are testing

Specify the test data

What is expected

Actual results - reference an image that you include below.

If any requirements are NOT met, document the known issues. What did you do to try to solve them?

Make sure you demonstrate in your testing the parts that are working correctly.

Conclusions / Lessons Learned

What difficult problems did you encounter, and how did you handle them?

What new concepts did you learn/reinforce with this lab?

Is there anything you would have done differently?

Reference no: EM131897985

Questions Cloud

Explain the vital component of the marketing plan : The Product Life Cycle (PLC) is a vital component of the marketing plan. Monitoring products and services as they flow through this process helps marketing.
Identify cloud computing security risks : Analyze virtualization and explain how it differs from cloud computing. Identify cloud computing security risks and recommend ways to mitigate those risks.
Find the estimated regression line : Find the estimated regression line Use this format as an example when submitting your equation 123 - 45x
Analyze the local impact of global public administration : Select one (1) real-world policy issue and provide a description of the issue.? Analyze the major costs and major benefits of the issue.?
Briefly describe the programs requirements : Briefly describe the program's requirements. Describe the approach/structure of program.What classes/functions were used?
Compute a z-test for a proportion : For each of the scenarios listed below, select the appropriate test and write the null and alternative hypotheses to be used in the test.
Service pistol shooting accuracy : Assume that we are estimating 2 different police officers' service pistol shooting accuracy. The first officer practices almost daily year round.
What value do you place on the stock today : If you want a 15.00% return on your investment, what value do you place on the stock today?
What is the npv of investing in this technology : Assuming a discount rate of 20%, what is the NPV of investing in this technology?

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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