};
}
	void createControlWidgets () {			/* Create the menu style buttons */		barButton = new Button (styleGroup, SWT.CHECK);		barButton.setText ("SWT.BAR");		dropDownButton = new Button (styleGroup, SWT.CHECK);		dropDownButton.setText ("SWT.DROP_DOWN");		popUpButton = new Button (styleGroup, SWT.CHECK);		popUpButton.setText ("SWT.POP_UP");		noRadioGroupButton = new Button (styleGroup, SWT.CHECK);		noRadioGroupButton.setText ("SWT.NO_RADIO_GROUP");		leftToRightButton = new Button (styleGroup, SWT.RADIO);		leftToRightButton.setText ("SWT.LEFT_TO_RIGHT");		leftToRightButton.setSelection(true);		rightToLeftButton = new Button (styleGroup, SWT.RADIO);		rightToLeftButton.setText ("SWT.RIGHT_TO_LEFT");			/* Create the menu item style buttons */		cascadeButton = new Button (menuItemStyleGroup, SWT.CHECK);		cascadeButton.setText ("SWT.CASCADE");		checkButton = new Button (menuItemStyleGroup, SWT.CHECK);		checkButton.setText ("SWT.CHECK");		pushButton = new Button (menuItemStyleGroup, SWT.CHECK);		pushButton.setText ("SWT.PUSH");		radioButton = new Button (menuItemStyleGroup, SWT.CHECK);		radioButton.setText ("SWT.RADIO");		separatorButton = new Button (menuItemStyleGroup, SWT.CHECK);		separatorButton.setText ("SWT.SEPARATOR");				/* Create the 'other' buttons */		imagesButton = new Button (otherGroup, SWT.CHECK);		imagesButton.setText (ControlExample.getResourceString("Images"));		acceleratorsButton = new Button (otherGroup, SWT.CHECK);		acceleratorsButton.setText (ControlExample.getResourceString("Accelerators"));		mnemonicsButton = new Button (otherGroup, SWT.CHECK);		mnemonicsButton.setText (ControlExample.getResourceString("Mnemonics"));		subMenuButton = new Button (otherGroup, SWT.CHECK);		subMenuButton.setText (ControlExample.getResourceString("SubMenu"));		subSubMenuButton = new Button (otherGroup, SWT.CHECK);		subSubMenuButton.setText (ControlExample.getResourceString("SubSubMenu"));				/* Create the "create" and "closeAll" buttons (and a 'filler' label to place them) */		new Label(controlGroup, SWT.NONE);		createButton = new Button (controlGroup, SWT.NONE);		createButton.setLayoutData (new GridData (GridData.HORIZONTAL_ALIGN_END));		createButton.setText (ControlExample.getResourceString("Create_Shell"));		closeAllButton = new Button (controlGroup, SWT.NONE);		closeAllButton.setLayoutData (new GridData (GridData.HORIZONTAL_ALIGN_BEGINNING));		closeAllButton.setText (ControlExample.getResourceString("Close_All_Shells"));			/* Add the listeners */		createButton.addSelectionListener(new SelectionAdapter() {			public void widgetSelected(SelectionEvent e) {				createButtonSelected(e);			};		});		closeAllButton.addSelectionListener(new SelectionAdapter() {			public void widgetSelected(SelectionEvent e) {				closeAllShells ();			};		});		subMenuButton.addSelectionListener(new SelectionAdapter() {			public void widgetSelected(SelectionEvent e) {				subSubMenuButton.setEnabled (subMenuButton.getSelection ());			};		});			/* Set the default state */		barButton.setSelection (true);		dropDownButton.setSelection (true);		popUpButton.setSelection (true);		cascadeButton.setSelection (true);		checkButton.setSelection (true);		pushButton.setSelection (true);		radioButton.setSelection (true);		separatorButton.setSelection (true);		subSubMenuButton.setEnabled (subMenuButton.getSelection ());	}