"core.accountGet", params));
"core.accountGet", params) + " (# "+ accountId+")");
    public boolean changeRegStatus(int accountId, boolean registered) {        try {            Enumeration e = gui.accounts.elements();            int i = 0;            while (e.hasMoreElements()) {                Account acc = (Account) e.nextElement();                int n = acc.id;                if (n == accountId) {                    if (registered) {                        acc.setRegistered(true);                        ImageIcon img = new ImageIcon(cl                                .getResource("gui/resources/green.gif"));                        params.clear();                        params.add(new Integer(n));                        params.add("name");                        img.setDescription((String) gui.execute(                                "core.accountGet", params));                        gui.list1.set(i, img);                    } else {                        acc.setRegistered(false);                        ImageIcon img = new ImageIcon(cl                                .getResource("gui/resources/red.gif"));                        params.clear();                        params.add(new Integer(n));                        params.add("name");                        img.setDescription((String) gui.execute(                                "core.accountGet", params));                        gui.list1.set(i, img);                    }                    break;                }                i++;            }            return true;        } catch (Exception e) {            e.printStackTrace();            return false;        }    }