Project: SWT
Bug 48263 EC: gtk allows TabItem.setControl(...) value to be non-child of TabFolder
Reported: 2003-12-08 08:19:42 | Status: resolved fixed

Snippet to try: Composite composite = new Composite(shell, SWT.NONE); TabFolder tabFolder = new TabFolder(shell, SWT.NONE); tabFolder.setBounds(0, 0, 680, 480); TabItem tabItemLearn = new TabItem(tabFolder, SWT.NONE); tabItemLearn.setText("Lernen"); tabItemLearn.setControl(composite); // <--

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TabItem.java