this.oldAttribute = null;
  public SComponent createComponent(Attributes attributes) {          SPanel photoPanel = new SPanel();      SFileChooser chooser = new SFileChooser();      photoPanel.setLayout(new SFlowDownLayout());      photoPanel.add(chooser);      photoPanel.add(new SLabel());      return photoPanel;    }