What is JFC and Swing?

Back Up Next

 

What is JFC and Swing?
JFC is a loose collection of APIs for client-side graphics, graphical user interfaces (GUIs), and other related tasks.  It specifically contains:
Abstract Window Toolkit (AWT 1.1 and beyond)
Swing Components ("Swing")
Java2D
Accessibility
Drag and Drop
Swing is a set of mostly light-weight components built on top of AWT.  It offers a multitude of components missing in AWT, plus it has an impressive infrastructure to build real, industrial-strength GUIs.  Thus, it does not replace, but rather extends the AWT in several significant ways:
Replacement of AWT's heavy-weight components with light-weight components (except JApplet, JFrame, JWindow, and JDialog)
Transparent backgrounds
Pluggable look and feels (plafs)
Full suite of GUI building blocks
Buttons, Labels, Lists, and Menus that can accommodate graphics as well as text
True pop-up windows and tooltips
Dockable toolbars and menu bars
Default Dialog boxes and Color and File Chooser dialog boxes
Tree, Table, and Tabbed Panes
MDI support