My Application is an Animal Age converter which allows us to calculate how an old animal is. Since we are humans, the calculator pretty much calculates how old they are with respect to 71 years as the average life expectancy.
The layout is really quite simple, you first input an animal type and put in its age. You then pick an output animal and click convert to find out the age with respect to the output animal. On the application itself, we can see that the top half is for the input animal's type and age. The input age is done with a simple textbox, while the input animal is a spinner.
For the output animal, there is just an animal type for the user to edit. The spinner for both the input and output animals are actually identical lists and they both default to Human.
Once the input age and both the input/output animals are chosen, we can click convert. Convert with trigger java code which runs the calculations for how old the output animal should be. This output will then display right below the Output animal in years and days.
Comments