Changing order of children of an SWT Composite
- by Alexey Romanov
In my case I have two children of a SashForm, but the question applies to all Composites and different layouts.
class MainWindow {
Sashform sashform;
Tree child1 = null;
Table child2 = null;
MainWindow(Shell shell) {
sashform = new SashForm(shell, SWT.NONE);
}
// Not called from constructor because it needs data…