Locale currentLocale = iwc.getCurrentLocale(),chosenLocale;
Locale currentLocale = iwc.getCurrentLocale(); Locale chosenLocale;
  public void main(IWContext iwc) throws Exception {    /**     * @todo permission     */    _isAdmin = true; //AccessControl.hasEditPermission(this,iwc);    _superAdmin = iwc.hasEditPermission(this);    _iwb = iwc.getIWMainApplication().getBundle(Builderaware.IW_CORE_BUNDLE_IDENTIFIER);    _iwrb = getResourceBundle(iwc);    addTitle(_iwrb.getLocalizedString("box_admin","Box Admin"));    Locale currentLocale = iwc.getCurrentLocale(),chosenLocale;    iwc.removeSessionAttribute(BoxBusiness.PARAMETER_CATEGORY_ID);    try {      _userID = LoginBusinessBean.getUser(iwc).getID();    }    catch (Exception e) {      _userID = -1;    }    _editImage = _iwb.getImage("shared/edit.gif");    _createImage = _iwb.getImage("shared/create.gif");    _deleteImage = _iwb.getImage("shared/delete.gif");    String sLocaleId = iwc.getParameter(BoxBusiness.PARAMETER_LOCALE_DROP);    int iLocaleId = -1;    if(sLocaleId!= null){      iLocaleId = Integer.parseInt(sLocaleId);      chosenLocale = TextFinder.getLocale(iLocaleId);    }    else{      chosenLocale = currentLocale;      iLocaleId = ICLocaleBusiness.getLocaleId(chosenLocale);    }    if ( _isAdmin ) {      processForm(iwc, iLocaleId,sLocaleId);    }    else {      noAccess();    }  }