@Override
    public void actionPerformed(ActionEvent e) {
     if(e.getSource().equals(del.getBtDelete()))
     {		//password written should match the user's password to confirm the delete action
          if(del.getDecipheredPassword().equals(del.getPW()))
          { DBHandler b = new DBHandler();
              b.deleteAsset(del.getaID());
              //b.addActivityLog("Delete Asset:"+del.getAssetName().getText(), del.getUserType(), del.getUsername());
              del.dispose();
           }
          else
              JOptionPane.showMessageDialog(null, "Error: Please enter the correct Password", "Error", JOptionPane.ERROR_MESSAGE);
   
      }
    }