FieldEditor booleanEditor =
FieldEditor advancedModeEditor =
	protected void createFieldEditors() {		Composite parent = getFieldEditorParent();			StringFieldEditor hostNameField =					new StringFieldEditor( "hostname", "Hostname", parent );				hostNameField.setPreferenceStore( this.getPreferenceStore() );				hostNameField.fillIntoGrid( parent, 2 );				addField( hostNameField );				hostNameField.load();						StringFieldEditor portField =					new StringFieldEditor( "port", "Port", parent );				portField.setPreferenceStore( this.getPreferenceStore() );				portField.fillIntoGrid( parent, 2 );				addField( portField );				portField.load();						StringFieldEditor userNameField =					new StringFieldEditor( "username", "Username", parent );				userNameField.setPreferenceStore( this.getPreferenceStore() );				userNameField.fillIntoGrid( parent, 2 );				addField( userNameField );				userNameField.load();						StringFieldEditor passwordField =					new StringFieldEditor( "password", "Password", parent );				passwordField.getTextControl( parent ).setEchoChar( '*' );				passwordField.fillIntoGrid( parent, 2 );				passwordField.setPreferenceStore( this.getPreferenceStore() );				addField( passwordField );				passwordField.load();					FileFieldEditor executableField =					new FileFieldEditor( "coreExecutable", 						G2GuiResources.getString( "PREF_CORE_EXEC" ), true, parent );					executableField.setPreferenceStore( this.getPreferenceStore() );					addField( executableField );					executableField.load();							String[] winExtensions = { "*.exe;*.bat" };			if ( SWT.getPlatform().equals( "win32" ) ) executableField.setFileExtensions( winExtensions );					FieldEditor booleanEditor =				new BooleanFieldEditor( "advancedMode",					"Advanced mode (*)", parent );				booleanEditor.setPreferenceStore( this.getPreferenceStore() );				booleanEditor.fillIntoGrid( parent, 2 );				addField( booleanEditor );				booleanEditor.load();							( ( GridLayout )parent.getLayout() ).numColumns = 2;	}