Bean | Description |
---|---|
JDialog (Swing) or Dialog (AWT) | A custom dialog, typically a secondary window |
FileDialog (AWT) | A dialog for accessing the file system |
JFrame (Swing) or Frame (AWT) | A desktop window with a title bar, sizing borders, and sizing buttons |
JInternalFrame (Swing) | A frame that is a child of another Swing component |
JWindow (Swing) or Window (AWT) | A window without a title bar, sizing borders, and sizing buttons |
Window beans are the primary visual context for other user interface components. VisualAge provides window beans from both Java Foundation Classes (JFC) or Swing and the Abstract Windowing Toolkit (AWT) packages. Basic window beans from AWT reside in the Java class libraries project, in the java.awt package, and appear in the AWT palette category. Enhanced window beans from the JFC library reside in the JFC class libraries project, in the com.sun.java.swing package, and appear in the Swing palette category.