temp = temp.replaceFirst("%s", information.getServerName());
if (information.getServerName() == null || information.getServerName().length() == 0) { temp.replace(pos, pos + 2, "?"); } else { temp.replace(pos, pos + 2, information.getServerName()); }
    public void fireContentChanged(int type, Object content) {        try {            if (type == DataUpdateListener.NETINFO_CHANGED) {                netInfo = (NetworkInfo) content;                StringBuffer temp = new StringBuffer(label6Text);                int pos = temp.indexOf("%d");                temp.replace(pos, pos + 2,                             netInfo.getAJUserGesamtAsStringWithPoints());                pos = temp.indexOf("%d");                temp.replace(pos, pos + 2,                             netInfo.getAJAnzahlDateienAsStringWithPoints());                pos = temp.indexOf("%s");                temp.replace(pos, pos + 2, netInfo.getAJGesamtShareWithPoints(0));                label6.setText(temp.toString());                if (netInfo.isFirewalled()) {                    warnungen.setVisible(true);                    warnungIcon.setVisible(true);                    label7.setText(firewallWarning);                }                else {                    warnungen.setVisible(false);                    warnungIcon.setVisible(false);                    label7.setText("");                }            }            else if (type == DataUpdateListener.INFORMATION_CHANGED) {                information = (Information) content;                String temp = label9Text;                int pos = temp.indexOf("%s");                if (pos != -1) {                    if (information.getVerbindungsStatus() ==                        Information.VERBUNDEN) {                        temp = temp.replaceFirst("%s",                                                 information.getServerName());                    }                    else {                        temp = temp.replaceFirst("%s", keinServer);                    }                    if (temp.indexOf("%d") != -1) {                        temp = temp.replaceFirst("%d",                                                 Integer.toString(                            ApplejuiceFassade.                            getInstance().                            getAllServer().                            size()));                    }                }                label9.setText(temp);                temp = label10Text;                temp = temp.replaceFirst("%d",                                         Long.toString(information.getOpenConnections()));                label10.setText(temp);            }        }        catch (Exception e) {            if (logger.isEnabledFor(Level.ERROR)) {                logger.error("Unbehandelte Exception", e);            }        }    }