if (categoriesInBox != null) { categoriesNotInBox.removeAll(categoriesInBox); }
  private void initializeFields(int iLocaleID) {    Form myForm = new Form();      myForm.setMethod("get");    Table formTable = new Table(1,2);      formTable.setAlignment(1,2,"right");    SelectionDoubleBox sdb = new SelectionDoubleBox(BoxBusiness.CATEGORY_SELECTION,"Not in","In");    SelectionBox left = sdb.getLeftBox();    left.setMarkupAttribute("style",STYLE);    left.setHeight(6);    left.selectAllOnSubmit();    SelectionBox right = sdb.getRightBox();    right.setMarkupAttribute("style",STYLE);    right.setHeight(6);    right.selectAllOnSubmit();    List categoriesInBox = BoxFinder.getCategoriesInBox(_boxID);    Iterator iter = null;    if(categoriesInBox != null){      iter = categoriesInBox.iterator();      while (iter.hasNext()) {        BoxCategory item = (BoxCategory) iter.next();        LocalizedText locText = TextFinder.getLocalizedText(item,iLocaleID);        String locString = "$language$";        if ( locText != null ) {          locString = locText.getHeadline();        }        right.addElement(Integer.toString(item.getID()),locString);      }    }    List categoriesNotInBox = BoxFinder.getCategoriesNotInBox(_boxID);    if(categoriesNotInBox != null){      iter = categoriesNotInBox.iterator();      while (iter.hasNext()) {        BoxCategory item = (BoxCategory) iter.next();        LocalizedText locText = TextFinder.getLocalizedText(item,iLocaleID);        String locString = "$language$";        if ( locText != null ) {          locString = locText.getHeadline();        }        left.addElement(Integer.toString(item.getID()),locString);      }    }    formTable.add(new SubmitButton(_iwrb.getLocalizedImageButton("close","CLOSE"),BoxBusiness.PARAMETER_MODE,BoxBusiness.PARAMETER_CLOSE),1,2);    formTable.add(new SubmitButton(_iwrb.getLocalizedImageButton("save","SAVE"),BoxBusiness.PARAMETER_MODE,BoxBusiness.PARAMETER_SAVE),1,2);    myForm.add(new HiddenInput(BoxBusiness.PARAMETER_BOX_ID,Integer.toString(_boxID)));    formTable.add(sdb,1,1);    myForm.add(formTable);    add(myForm);  }