/** Creates new form AssetMeterJFrame */
  public AssetMeterJPanel(AssetMeterClientPlugin plugin) {
    this.plugin = plugin;

    initComponents();
    downloadingAssetMap = Collections.synchronizedMap(new LinkedHashMap());

    // Have the JList renderer the asset indicators
    loadingAssetList.setModel(listModel);
    loadingAssetList.setCellRenderer(new AssetIndicatorCellRenderer());

    // Add a listener to the asset manager
    progressListener = new MeterProgressListener();
    AssetManager manager = AssetManager.getAssetManager();
    manager.addProgressListener(progressListener);

    // Select the right card
    ((CardLayout) getLayout()).show(this, "combined");
  }
 /** Stop listener for events */
 public void deactivate() {
   AssetManager manager = AssetManager.getAssetManager();
   manager.removeProgressListener(progressListener);
 }