closeTransaction(false);
closeTransactionDontReset();
  protected void watchRemoveButton() {    if (!allowRemoveAssets) {      return;    }    String prototypeName = (String)prototypeNameCombo.getSelectedItem();    if (prototypeName != null) {      prototypeName = prototypeName.trim();      if ((prototypeName.length() < 1) ||          prototypeName.equals("*"))        prototypeName = null;    }    openTransaction();    try {      int removeCount = removeAsset(prototypeName);      if (removeCount > 1)        setStatus(true, "Removed "+ removeCount+ " random Assets");      else if (removeCount > 0)        setStatus(true, "Removed a random Asset");      else {        setStatus(true, "Zero \""+prototypeName+"\" assets (try typeID!)");        prototypeNames.remove(prototypeName);        prototypeNameCombo.removeItem(prototypeName);      }      if ((prototypeName != null) &&           (!prototypeNames.contains(prototypeName))) {        prototypeNames.add(prototypeName);        prototypeNameCombo.addItem(prototypeName);      }    }    catch (Exception exc) {      if ((prototypeName != null) &&          prototypeNames.contains(prototypeName)) {        prototypeNames.remove(prototypeName);        prototypeNameCombo.removeItem(prototypeName);      }      System.err.println("Could not remove asset of name: "+prototypeName);      setStatus("Unable to remove \""+prototypeName+"\n Asset");    }    closeTransaction(false);  }