Extending an Class for a GUI
In our previous examples, we built the GUI from within the main method, and then built the GUI into an external class. We said that was beneficial in case we wanted to extend a class, like we will here. While this will create some extra work on the front end, it will make things easier…