Summary
In this chapter, you explored the JRootPane class and how implementers of the RootPaneContainer interface rely on a JRootPane for internal component management. You also learned how in Swing you work with the JRootPane of a JFrame, JDialog, JWindow, JApplet, or JInternalFrame class. The root pane can then layer components with the help of a JLayeredPane in such a way that tooltip text and pop-up menus will always appear above their associated components.
The JInternalFrame can also reside within a desktop environment, in which a JDesktopPane and DesktopManager manage how and where the internal frames act and appear. You can also respond to internal frame events by associating InternalFrameListener implementations with a JInternalFrame.
In Chapter 9, you’ll examine the specialized pop-up components within the Swing libraries: JColorChooser, JFileChooser, JOptionPane, and ProgressMonitor.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2005 John Zukowski
About this chapter
Cite this chapter
(2005). Root Pane Containers. In: The Definitive Guide to Java Swing. Apress. https://doi.org/10.1007/978-1-4302-0033-8_8
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0033-8_8
Publisher Name: Apress
Print ISBN: 978-1-59059-447-6
Online ISBN: 978-1-4302-0033-8
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)