void (@NotNull String title, Icon icon, @NotNull Component c, String tip, int index) { assert c instanceof JComponent; myTabs.addTab(new TabInfo((JComponent)c).setText(title).setTooltipText(tip).setIcon(icon), index); }