public CustomAction(String label, String icon)
public CustomAction(String label)
    public CustomAction(String label, String icon)                                                  throws NotInitializedException,                                                  IOException,                                                  ImagesManager.NotInitializedException    {        super();        // definir le mnmonic si lon trouve le caractere & dans le nom        String name = LanguagesManager.getInstance().getString(label);        int index;        if ((index = name.indexOf('&')) != -1)        {            // si le & n'est pas a la fin            if (index < name.length() - 1)            {                // on recupere le caractere apres le & et on le defini comme                // Mnemonic                int charCodeAfterAnd = Character.toUpperCase(name                        .charAt(index + 1));                this.putValue(Action.MNEMONIC_KEY, charCodeAfterAnd);                String stringBeforeAnd = name.substring(0, index);                String stringAfterAnd = name.substring(index + 1);                name = stringBeforeAnd.concat(stringAfterAnd);            }        }        this.putValue(Action.NAME, name);        this.putValue(Action.SMALL_ICON, ImagesManager.getInstance()                .getSmallIcon(icon));        this.putValue(Action.SHORT_DESCRIPTION, name);    }