Class |
Purpose |
BMICalculator |
The main class of the program. |
MainWindow |
The main frame window of the program.
The title is set to Body Mass Index Calculator .
This class is from javabook2 .
|
InputBox |
An InputBox object is used to get three values:
the user's name, height (in inches), and weight (in pounds).
This class is from javabook2 .
|
OutputBox |
An OutputBox object is used to display a
description of the program, the input values, and the
computed BMI.
This class is from javabook2 .
|
Math |
The pow method is used in the calculation of
the BMI.
This class is from java.lang .
|