Buggy code:
composite . setLayoutData ( gridData ) ; final Composite compositeKeyConfiguration = new Composite ( composite , SWT . NULL ) ; GridLayout gridLayout = new GridLayout ( ) ; gridLayout . numColumns = 3 ; compositeKeyConfiguration . setLayout ( gridLayout ) ; gridData = new GridData ( GridData . FILL_HORIZONTAL ) ; compositeKeyConfiguration . setLayoutData ( gridData ) ; final Label labelKeyConfiguration = new Label ( compositeKeyConfiguration , SWT . LEFT ) ; labelKeyConfiguration . setText ( Util . translateString ( KeysPreferencePage . RESOURCE_BUNDLE , "labelScheme" ) ) ; comboScheme = new Combo ( compositeKeyConfiguration , SWT . READ_ONLY ) ; gridData = new GridData ( ) ; gridData . widthHint = 200 ; comboScheme . setLayoutData ( gridData ) ; comboScheme . setVisibleItemCount ( KeysPreferencePage . ITEMS_TO_SHOW ) ; comboScheme . addSelectionListener ( new SelectionAdapter ( ) { public final void widgetSelected ( final SelectionEvent e ) { selectedComboScheme ( ) ; } } ) ; labelSchemeExtends = new Label ( compositeKeyConfiguration , SWT . LEFT ) ; gridData = new GridData ( GridData . FILL_HORIZONTAL ) ; labelSchemeExtends . setLayoutData ( gridData ) ; final Control spacer = new Composite ( composite , SWT . NULL ) ; gridData = new GridData ( ) ; gridData . heightHint = 10 ; gridData . widthHint = 10 ; spacer . setLayoutData ( gridData ) ; final Group groupCommand = new Group ( composite , SWT . SHADOW_NONE ) ; gridLayout = new GridLayout ( ) ; gridLayout . numColumns = 3 ; groupCommand . setLayout ( gridLayout ) ; gridData = new GridData ( GridData . FILL_BOTH ) ; groupCommand . setLayoutData ( gridData ) ; groupCommand . setText ( Util . translateString ( KeysPreferencePage . RESOURCE_BUNDLE , "groupCommand" ) ) ; final Label labelCategory = new Label ( groupCommand , SWT . LEFT ) ; gridData = new GridData ( ) ; labelCategory . setLayoutData ( gridData ) ; labelCategory . setText ( Util . translateString ( KeysPreferencePage . RESOURCE_BUNDLE , "labelCategory" ) ) ; comboCategory = new Combo ( groupCommand , SWT . READ_ONLY ) ; gridData = new GridData ( ) ; gridData . horizontalSpan = 2 ; gridData . widthHint = 200 ; comboCategory . setLayoutData ( gridData ) ; comboCategory . setVisibleItemCount ( KeysPreferencePage . ITEMS_TO_SHOW ) ; comboCategory . addSelectionListener ( new SelectionAdapter ( ) { public final void widgetSelected ( final SelectionEvent e ) { update ( ) ; } } ) ; final Label labelCommand = new Label ( groupCommand , SWT . LEFT ) ; gridData = new GridData ( ) ; labelCommand . setLayoutData ( gridData ) ; labelCommand . setText ( Util . translateString ( KeysPreferencePage . RESOURCE_BUNDLE , "labelCommand" ) ) ; comboCommand = new Combo ( groupCommand , SWT . READ_ONLY ) ; gridData = new GridData ( ) ; gridData . horizontalSpan = 2 ; gridData . widthHint = 300 ; comboCommand . setLayoutData ( gridData ) ; comboCommand . setVisibleItemCount ( 9 ) ; comboCommand . addSelectionListener ( new SelectionAdapter ( ) { public final void widgetSelected ( final SelectionEvent e ) { update ( ) ; } } ) ; labelBindingsForCommand = new Label ( groupCommand , SWT . LEFT ) ; gridData = new GridData ( GridData . VERTICAL_ALIGN_BEGINNING ) ; gridData . verticalAlignment = GridData . FILL_VERTICAL ; labelBindingsForCommand . setLayoutData ( gridData ) ; labelBindingsForCommand . setText ( Util . translateString ( KeysPreferencePage . RESOURCE_BUNDLE , "labelAssignmentsForCommand" ) ) ; tableBindingsForCommand = new Table ( groupCommand , ( ( ( ( SWT . BORDER ) | ( SWT . FULL_SELECTION ) ) | ( SWT . H_SCROLL ) ) | ( SWT . V_SCROLL ) ) ) ; tableBindingsForCommand . setHeaderVisible ( true ) ; gridData = new GridData ( GridData . FILL_BOTH ) ; gridData . heightHint = 60 ; gridData . horizontalSpan = 2 ; <START_BUG> boolean isMac = ( "carbon" . equals ( SWT . getPlatform ( ) ) ) || ( "cocoa" . equals ( SWT . getPlatform ( ) ) ) ; <END_BUG> gridData . widthHint = ( isMac ) ? 620 : 520 ; tableBindingsForCommand . setLayoutData ( gridData ) ; TableColumn tableColumnDelta = new TableColumn ( tableBindingsForCommand , SWT . NULL , 0 ) ; tableColumnDelta . setResizable ( false ) ; tableColumnDelta . setText ( ZERO_LENGTH_STRING ) ; tableColumnDelta . setWidth ( 20 ) ; TableColumn tableColumnContext = new TableColumn ( tableBindingsForCommand , SWT . NULL , 1 ) ; tableColumnContext . setResizable ( true ) ; tableColumnContext . setText ( Util . translateString ( KeysPreferencePage . RESOURCE_BUNDLE , "tableColumnContext" ) ) ; tableColumnContext . pack ( ) ; tableColumnContext . setWidth ( 200 ) ; final TableColumn tableColumnKeySequence = new TableColumn ( tableBindingsForCommand , SWT . NULL , 2 ) ; tableColumnKeySequence . setResizable ( true ) ; tableColumnKeySequence . setText ( Util . translateString ( KeysPreferencePage . RESOURCE_BUNDLE , "tableColumnKeySequence" ) ) ; tableColumnKeySequence . pack ( ) ; tableColumnKeySequence . setWidth ( 300 ) ; tableBindingsForCommand . addMouseListener ( new MouseAdapter ( ) { public void mouseDoubleClick ( MouseEvent mouseEvent ) { update ( ) ; } } ) ; tableBindingsForCommand . addSelectionListener ( new SelectionAdapter ( ) { public void widgetSelected ( SelectionEvent selectionEvent ) { selectedTableBindingsForCommand ( ) ; } } ) ; final Group groupKeySequence = new Group ( composite , SWT . SHADOW_NONE ) ; gridLayout = new GridLayout ( ) ; gridLayout . numColumns = 4 ; groupKeySequence . setLayout ( gridLayout ) ; gridData = new GridData ( GridData . FILL_BOTH ) ; groupKeySequence . setLayoutData ( gridData ) ; groupKeySequence . setText ( Util . translateString ( KeysPreferencePage . RESOURCE_BUNDLE , "groupKeySequence" ) ) ; final Label labelKeySequence = new Label ( groupKeySequence , SWT . LEFT ) ; gridData = new GridData ( ) ; labelKeySequence . setLayoutData ( gridData ) ; labelKeySequence . setText ( Util . translateString ( KeysPreferencePage . RESOURCE_BUNDLE , "labelKeySequence" ) ) ;

Fix:
boolean isMac = org . eclipse . jface . util . Util . isMac ( ) ;