For this lab, you will create a simple GUI program with Swing. The program will contain a window with three components:
They will need to be contained inside of a BoxLayout.
The label should tell the user to enter a number in the field below.
The text field will allow the user to enter a number.
When the button is pressed, the application should read the text in the text field, convert it to a number, calculate the factorial of the number, and display it in a popup window to the user.
Copyright © 2019 Ian Finlayson | Licensed under a Creative Commons Attribution 4.0 International License.