private void add(TabPane child) { if (child.isCreateTabLink()) { TabLink tabLink = new TabLink(child); tabs.add(tabLink); } tabContent.add(child); }