searchResultPanel = new SearchResultPanel(aSearch, this);
searchResultPanel = new SearchResultPanel(aSearch);
    public void fireContentChanged(int type, Object content) {        try {            if (type == DataUpdateListener.SEARCH_CHANGED) {                synchronized (content) {                    Iterator it = ( (HashMap) content).keySet().iterator();                    Object key;                    Search aSearch;                    SearchResultPanel searchResultPanel;                    while (it.hasNext()) {                        key = it.next();                        if (!searchIds.containsKey(key)) {                            aSearch = (Search) ( (HashMap) content).get(key);                            searchResultPanel = new SearchResultPanel(aSearch, this);                            resultPanel.addTab(aSearch.getSuchText(),                                               searchResultPanel);                            resultPanel.setSelectedComponent(searchResultPanel);                            searchIds.put(key, searchResultPanel);                        }                        else {                            searchResultPanel = (SearchResultPanel) searchIds.                                get(key);                            if (panelSelected) {                                searchResultPanel.updateSearchContent();                            }                        }                    }                    Object[] searchPanels = resultPanel.getComponents();                    int id;                    String searchKey;                    for (int i = 0; i < searchPanels.length; i++) {                        id = ( (SearchResultPanel) searchPanels[i]).getSearch().                            getId();                        searchKey = Integer.toString(id);                        if (! ( (HashMap) content).containsKey(searchKey)) {                            int index = resultPanel.indexOfComponent((Component)searchPanels[i]);                            searchIds.remove(searchKey);                            resultPanel.enableIconAt(index);                        }                    }                    label2.setText(bearbeitung.replaceAll("%d",                        Integer.toString(Search.currentSearchCount)));                }            }        }        catch (Exception e) {            if (logger.isEnabledFor(Level.ERROR)) {                logger.error("Unbehandelte Exception", e);            }        }    }