Beginning Java 7 by Jeff Friesen

Beginning Java 7 by Jeff Friesen

Author:Jeff Friesen [Friesen, Jeff]
Language: eng
Format: epub
Tags: Computers, Programming, Open Source
ISBN: 9781430239093
Publisher: Apress
Published: 2011-11-01T04:00:00+00:00


New Heavyweight Containers

The javax.swing package includes JDialog, JFrame, and JWindow container classes that extend their java.awt.Dialog, java.awt.Frame, and java.awt.Window counterparts. These heavyweight containers manage their contained lightweight components (such as javax.swing.JButton) and containers (such as javax.swing.JPanel).

JDialog, JFrame, JWindow, and two other Swing containers use panes (special-purpose containers) to organize their contained components/containers. Swing supports root, layered, content, and glass panes:

The root pane contains the layered pane and the glass pane. It's implemented via the javax.swing.JRootPane class.

The layered pane contains the application's menubar and the content pane. It's implemented via the javax.swing.JLayeredPane class.

The content pane is a Container subclass instance that stores the GUI's nonmenu content.

The glass pane is a transparent Component instance that covers the layered pane.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.