keys.add(s[i].substring(s[i].indexOf("Advanced") + 8, s[i].length()));
s[i] = s[i].substring(s[i].indexOf("Advanced") + 8, s[i].length());
    private JPanel getAdvancedSettingsPanel() {        JPanel p = new JPanel();        keys = new List(10, false);        String[] s = GUIPreferences.getInstance().getAdvancedProperties();        //You would think that a simple "Arrays.sort(s)" would work below,        // but it does not.  Something funky is going on with the        // collections.jar classes - specifically spelling out the comparator        // seems to fix it.  This kludge can be removed when we drop Java        // 1.1 compatability.        Arrays.sort(s, new Comparator() {            public int compare(Object a, Object b) {                String sa = (String) a;                String sb = (String) b;                return sa.compareTo(sb);            }        });        for (int i = 0; i < s.length; i++) {            keys.add(s[i].substring(s[i].indexOf("Advanced") + 8, s[i].length()));        }        keys.addItemListener(this);        p.add(keys);        value = new JTextField(10);        value.addFocusListener(this);        p.add(value);        return p;    }