Using the OverlayLayout2 Manager

As with BoxLayout2, OverlayLayout2 is Swing’s OverlayLayout, wrapped as a Bean so that it can be used within JBuilder’s Inspector. OverlayLayout2 is similar to CardLayout because it places the components on top of each other. It differs from CardLayout, by allowing multiple components to be visible at the same time by setting the container transparency. As CardLayout has been replaced with JTabbedPane, the same fate has met the OverlayLayout2, which also is being replaced by JTabbedPane.

Get Borland® JBuilder™ Developer’s Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.