In this appendix, you learned about a few Java GUI components and how to implement event handlers using nested classes and anonymous inner classes. You saw the special relationship between an inner-class object and an object of its top-level class. You also learned how to create apps that execute in their own windows. We discussed class JFrame
and components that enable a user to interact with an app.