public boolean save() {
   for (Object component : genericTagPropertiesEditPanel.getComponents()) {
     if (component instanceof GenericTagEditor) {
       try {
         ((GenericTagEditor) component).validateValue();
         ((GenericTagEditor) component).save();
       } catch (IllegalArgumentException iex) {
         return false;
       }
     }
   }
   SWF swf = tag.getSwf();
   assignTag(tag, editedTag);
   tag.setModified(true);
   tag.setSwf(swf);
   setTagText(tag);
   return true;
 }