Class HeavyTabbedPane

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants

public class HeavyTabbedPane extends JTabbedPane
A JTabbedPane implementation that allows tabbed heavy-weight components. When a component is added to a tab it is cached and an associated light-weight stand-in component and added instead. When a tab is selected the light-weight stand in is removed and it's heavy-weight counter-part is displayed. When another tab is selected the reverse happens.

This was originally written to facilitate the use of Canvas3D objects in a JTabbedPane, but I believe it will work for any heavy-weight component.

See Also: