THE glass pane is one of the most marvelous features of Swing. Despite a misleading name, the glass pane has proven over the years to be a unique asset to any Swing developer who wants to create advanced effects in user interfaces. To understand the qualities of the glass pane and why it is so important to Filthy Rich Clients, you first need to understand the layout of Swing’s frames and dialogs.
Despite their appearance,
JInternalFrame are not flat containers. Swing windows always contain a single child, an instance of
JRootPane. A root pane is a unique container, made of a glass pane and of a
JLayeredPane. We explore
JLayeredPane in more detail later, but you need to know that the root pane’s ...