Buggy code:
class SashTab extends Tab { Sash hSash ; Sash vSash ; Composite sashComp ; Group sashGroup ; List list1 ; List list2 ; List list3 ; Text text ; Button smoothButton ; static String [ ] ListData0 = new String [ ] { ControlExample . getResourceString ( "ListData0_0" ) , ControlExample . getResourceString ( "ListData0_1" ) , ControlExample . getResourceString ( "ListData0_2" ) , ControlExample . getResourceString ( "ListData0_3" ) , ControlExample . getResourceString ( "ListData0_4" ) , ControlExample . getResourceString ( "ListData0_5" ) , ControlExample . getResourceString ( "ListData0_6" ) , ControlExample . getResourceString ( "ListData0_7" ) , ControlExample . getResourceString ( "ListData0_8" ) } ; static String [ ] ListData1 = new String [ ] { ControlExample . getResourceString ( "ListData1_0" ) , ControlExample . getResourceString ( "ListData1_1" ) , ControlExample . getResourceString ( "ListData1_2" ) , ControlExample . getResourceString ( "ListData1_3" ) , ControlExample . getResourceString ( "ListData1_4" ) , ControlExample . getResourceString ( "ListData1_5" ) , ControlExample . getResourceString ( "ListData1_6" ) , ControlExample . getResourceString ( "ListData1_7" ) , ControlExample . getResourceString ( "ListData1_8" ) } ; static final int SASH_WIDTH = 3 ; static final int SASH_LIMIT = 20 ; SashTab ( ControlExample instance ) { } void createExampleGroup ( ) { } void createExampleWidgets ( ) { <START_BUG> sashComp = new Composite ( sashGroup , SWT . BORDER ) ; <END_BUG> list1 = new List ( sashComp , ( ( ( SWT . V_SCROLL ) | ( SWT . H_SCROLL ) ) | ( SWT . BORDER ) ) ) ; list1 . setItems ( SashTab . ListData0 ) ; list2 = new List ( sashComp , ( ( ( SWT . V_SCROLL ) | ( SWT . H_SCROLL ) ) | ( SWT . BORDER ) ) ) ; list2 . setItems ( SashTab . ListData1 ) ; text = new Text ( sashComp , ( ( SWT . MULTI ) | ( SWT . BORDER ) ) ) ; text . setText ( ControlExample . getResourceString ( "Multi_line" ) ) ; int style = getDefaultStyle ( ) ; if ( smoothButton . getSelection ( ) ) style |= SWT . SMOOTH ; vSash = new Sash ( sashComp , ( ( SWT . VERTICAL ) | style ) ) ; hSash = new Sash ( sashComp , ( ( SWT . HORIZONTAL ) | style ) ) ; hSash . addSelectionListener ( new SelectionAdapter ( ) { public void widgetSelected ( SelectionEvent event ) { Rectangle rect = vSash . getParent ( ) . getClientArea ( ) ; event . y = Math . min ( Math . max ( event . y , SashTab . SASH_LIMIT ) , ( ( rect . height ) - ( SashTab . SASH_LIMIT ) ) ) ; if ( ( event . detail ) != ( SWT . DRAG ) ) { hSash . setBounds ( event . x , event . y , event . width , event . height ) ; layout ( ) ; } } } ) ; vSash . addSelectionListener ( new SelectionAdapter ( ) { public void widgetSelected ( SelectionEvent event ) { Rectangle rect = vSash . getParent ( ) . getClientArea ( ) ; event . x = Math . min ( Math . max ( event . x , SashTab . SASH_LIMIT ) , ( ( rect . width ) - ( SashTab . SASH_LIMIT ) ) ) ; if ( ( event . detail ) != ( SWT . DRAG ) ) { vSash . setBounds ( event . x , event . y , event . width , event . height ) ; layout ( ) ; } } } ) ; sashComp . addControlListener ( new ControlAdapter ( ) { public void controlResized ( ControlEvent event ) { resized ( ) ; } } ) ; } void createSizeGroup ( ) { } void createStyleGroup ( ) { } void disposeExampleWidgets ( ) { } Widget [ ] getExampleWidgets ( ) { } String [ ] getMethodNames ( ) { } String getTabText ( ) { } void layout ( ) { } void setExampleWidgetSize ( ) { } void setExampleWidgetState ( ) { } void resized ( ) { } }

Fix:
sashComp = new Composite ( sashGroup , ( ( SWT . BORDER ) | ( getDefaultStyle ( ) ) ) ) ;