@Override
      public void actionPerformed(ActionEvent e) {
                if(e.getSource().equals(a.getbtnEdit())){
                    
                  AbstractFormBuilder form = new ModifyAssetBuilder();
                  FormDirector f = new FormDirector();
                   f.setBuilder(form);
                   Form edit = f.construct();
                   
                   Form Deco = new ModifyAssetDecorator(edit, a.getAsset());
                   edit = Deco.getForm();
                   
                   ModifyAsset editing = (ModifyAsset)edit;
                   editing.setValues(a.getUserType(), a.getUsername(), a.getUserID());
                   edit = editing;
                   
                   if (a.getUserType() == "custodian"){
                       
                       a.dispose();
                       
                       Deco = new CustodianModifyAssetDecorator(edit);
                       edit = Deco.getForm();
                       edit.setVisible(true);
                       edit.setLocationRelativeTo(null);
                       
                   }
                   else if (a.getUserType() == "owner"){
                       
                       a.dispose();
                       
                       edit.setVisible(true);
                       edit.setLocationRelativeTo(null);
                   }
                    
                }
         
      }