In previous chapters, you were exposed to non-JFC applications (that is, Java applications that don't make use of graphics or GUIs). It's time to see what a JFC application looks like. To that end, you're going to have an opportunity to examine a pair of AWT and Swing skeletal JFC applications.
An AWT application uses the AWT API. This application contains a class that either inherits from the AWT's Frame class or creates an instance of the Frame class in its main method.
A frame is a window that provides a title bar, window decorations (such as a system menu, minimize and maximize buttons, borders, and so on), a menu bar, and an area to place GUI components.
An AWT application often incorporates ...