ifclass JExtendedTabbedPane svoid addTab(JExtendedTabbedPane tabs, S title, Component c default jpanel()) { if (tabs != null) swing { tabs.add(title, wrap(c)); } } svoid addTab(JExtendedTabbedPane tabs, S title, Swingable c) { if (tabs != null) swing { tabs.add(title, wrap(c)); } } endif svoid addTab(JTabbedPane tabs, S title, Component c default jpanel()) { if (tabs != null) swing { tabs.add(title, wrap(c)); } } svoid addTab(JTabbedPane tabs, S title, Swingable c) { if (tabs != null) swing { tabs.add(title, wrap(c)); } } meta-for Component also as Swingable { svoid addTab(JTabbedPane tabs, WithToolTip title, Component c) { addTabWithToolTip(tabs, title.toolTip(), title?!, c); } }