JFC Applications

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.

A Taste of JFC's AWT 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.

Note

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 ...

Get Special Edition Using Java 2 Standard Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.