Source:
<code>public VIPLayout(String width, String height) { super(width, height); addTitle("Executable", Constants.ICON_EXECUTABLE); setMembersMargin(2); setOverflow(Overflow.AUTO); applicationLocation = new LocalTextField("Application file location", true, true); applicationLocation.setValue("/vip/Home"); this.addMember(applicationLocation); overwriteIfexists = new CheckboxItem("ckbox_over","Overwrite application version if it exists"); overwriteIfexists.setAlign(Alignment.LEFT); <START> appCbItem = new SelectItem(); <END> appCbItem.setTitle("<b>Select type of application</b>"); appCbItem.setType("comboBox"); LinkedHashMap<String, String> valueMap = new LinkedHashMap<String, String>(); valueMap.put("none", "none"); valueMap.put("challenge_msseg", "Challenge MSSEG"); valueMap.put("challenge_petseg", "Challenge PETSEG"); appCbItem.setValueMap(valueMap); appCbItem.addChangeHandler( new com.smartgwt.client.widgets.form.fields.events.ChangeHandler() { @Override public void onChange(ChangeEvent event) { if (event.getValue().toString().contains("none")) { tbAddDescriptor.setValue(""); tbAddDescriptor.setDisabled(true); } else if (event.getValue().toString().contains("msseg")) { tbAddDescriptor.setValue(Constants.APP_IMPORTER_CHALLENGE_PATH_MSSEG); tbAddDescriptor.setDisabled(false); } else if (event.getValue().toString().contains("petseg")) { tbAddDescriptor.setValue(Constants.APP_IMPORTER_CHALLENGE_PATH_PETSEG); tbAddDescriptor.setDisabled(false); } } }); tbAddDescriptor = new TextItem(); tbAddDescriptor.setTitle("<b>location of additional descriptor(s)</b>"); tbAddDescriptor.setValue(""); tbAddDescriptor.setDisabled(false); this.addMember(FieldUtil.getForm(appCbItem)); this.addMember(FieldUtil.getForm(tbAddDescriptor)); this.addMember(FieldUtil.getForm(overwriteIfexists)); }</code><technical_language>Indendation issue</technical_language>

Target:
public VIPLayout(String width, String height) { super(width, height); addTitle("Executable", Constants.ICON_EXECUTABLE); setMembersMargin(2); setOverflow(Overflow.AUTO); applicationLocation = new LocalTextField("Application file location", true, true); applicationLocation.setValue("/vip/Home"); this.addMember(applicationLocation); overwriteIfexists = new CheckboxItem("ckbox_over", "Overwrite application version if it exists"); overwriteIfexists.setAlign(Alignment.LEFT); appCbItem = new SelectItem(); appCbItem.setTitle("<b>Select type of application</b>"); appCbItem.setType("comboBox"); LinkedHashMap<String, String> valueMap = new LinkedHashMap<String, String>(); valueMap.put("standalone", "standalone"); valueMap.put("challenge_msseg", "Challenge MSSEG"); valueMap.put("challenge_petseg", "Challenge PETSEG"); appCbItem.setValueMap(valueMap); appCbItem.addChangeHandler(new com.smartgwt.client.widgets.form.fields.events.ChangeHandler() { @Override public void onChange(ChangeEvent event) { if (event.getValue().toString().contains("standalone")) { tbAddDescriptor.setValue(""); tbAddDescriptor.setDisabled(true); } else if (event.getValue().toString().contains("msseg")) { tbAddDescriptor.setValue(Constants.APP_IMPORTER_CHALLENGE_PATH_MSSEG); tbAddDescriptor.setDisabled(false); } else if (event.getValue().toString().contains("petseg")) { tbAddDescriptor.setValue(Constants.APP_IMPORTER_CHALLENGE_PATH_PETSEG); tbAddDescriptor.setDisabled(false); } } }); tbAddDescriptor = new TextItem(); tbAddDescriptor.setTitle("<b>location of additional descriptor(s)</b>"); tbAddDescriptor.setValue(""); tbAddDescriptor.setDisabled(false); this.addMember(FieldUtil.getForm(appCbItem)); this.addMember(FieldUtil.getForm(tbAddDescriptor)); this.addMember(FieldUtil.getForm(overwriteIfexists)); }