Đã hoàn thành

developing a GUI application

creating a basic GUI application in Netbeans

• 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 Week 1 Lab and build a GUI for it.

FUNCTIONAL REQUIREMENTS

Make sure your HealthProfile class from the Week 1 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 Week 1 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

Sample GUI

Kĩ năng: Java, Kiến trúc phần mềm, Lập trình C

Xem nhiều hơn: database driven java gui application, cost developing kickapps application, plsql gui application, developing facebook application google maps, writing gui application arm architecture linux, developing tray application net, developing j2ee application medicaid claims, developing survey application aspnet, developing web application drupal, creating gui application using plsql, developing mapping application iphone, developing sms application software, creating photo 3ds max, developing gui applications using linux, developing mobile application server, developing survey application, developing camera application blackberry, developing web application for creating directories in c#

Về Bên Thuê:
( 1 Nhận xét ) Whittier, United States

ID dự án: #28361690

Được trao cho:

popularcontent12

Hello, I am a software and Web Developer. I hava also lot of experience in Designing. I have some rules and regulations before start of project: 1. Provide 100% work within deadline. 2. Provide unlimited revisions un Thêm

$10 USD trong 1 ngày
(47 Đánh Giá)
4.9

7 freelancer chào giá trung bình$30 cho công việc này

koustav2006

HI..I am proficient in core Java OO programming with data structures, algorithms along with GUI design with Swings and can help you develop the given project as per specs. I will design the UI with Netbeans Swing GUI B Thêm

$70 USD trong 3 ngày
(276 Nhận xét)
6.8
expertjavagiant

Hi Sir, I have huge experience in java swing development and i am expert in Netbeans IDE. I will develop your assignment as specified. Please review my profile and feel free to contact me. Thanks,

$40 USD trong 1 ngày
(69 Nhận xét)
6.7
lega97

Hi sir am interested in you task. I read the description and found myself eligible for the task to do with my 4 years development experience. Quality work and client satisfaction is my first moto. Give me chance prove Thêm

$30 USD trong 2 ngày
(36 Nhận xét)
4.4
baltickriscoder

Dear Client, Nice to meet you. I have read your description and I am so interested in your project. I am 5+yrs experience in Java. I have done pacman game, multithread job, catch game, graph problem and also algorithm Thêm

$20 USD trong 1 ngày
(18 Nhận xét)
4.1
adidas2152

Hi, Dear. Your project is attracting my mind since I have some experiences and some skills on your project. I have been completed many similar projects before and I am working in these branches for 8+ years. I look f Thêm

$20 USD trong 7 ngày
(5 Nhận xét)
3.0
Bingfeng234

plz hire directly. if you project is closed. https://www.freelancer.com/u/Bingfeng234 If my project have some problems, you don't need to pay me. i am a creative and professional full-stack developer having more than 5 Thêm

$20 USD trong 1 ngày
(3 Nhận xét)
2.2