Our next application will consist of a simple drop-down entry with a couple of buttons to confirm the selection or clear its contents.
If one of the predefined values is selected or the Submit button is clicked, the current Combobox value is printed in the standard output, as follows: