Class DockingTabRenderer

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class DockingTabRenderer extends JPanel
A widget that can be used to render an icon, title and close button for JTabbedPane. You would use this class with the tabbed pane by calling JTabbedPane.setTabComponentAt(int, Component)
See Also:
  • Constructor Details

  • Method Details

    • installPopupMenu NEW

      public void installPopupMenu(JPopupMenu popupMenu)
    • setIcon

      public void setIcon(Icon icon)
    • setTitle MODIFIED

      public void setTitle(String tabText, String fullTitle)
      param 1 renamed: tabTitle → tabText
      -void setTitle(java.lang.String tabTitle, java.lang.String fullTitle)
      +void setTitle(java.lang.String tabText, java.lang.String fullTitle)
    • getTabText

      public String getTabText()