This program is an example of a beginner level program. The program is suitable to showing how to construct a user interface from basic building blocks. This example shows how to do the following:
Input integer data
Employ flowlayout for the basic design organizer
Display text in colors as well as black and white
Move operations unrelated to UI design to a separate module (file).
How to set default values for inputs
Delay closure of the UI for a specified number of seconds.
How to colorize output text.
Study the sample program because it along with other future programs will serve as replacements for required textbooks.