public void insertAbove(String filter) {
        gui.addToHistory(filter);
        if (filter != null && !filter.trim().equals("")) {
            JList list = (JList) filterLists.elementAt(currentFilterIndex);
            int i = list.getSelectedIndex();
            if (i < 0) {
                i = 0;
            }
            StringTokenizer tokenizer = 
                new StringTokenizer(filter, "|");
            while (tokenizer.hasMoreTokens()) {
                DefaultListModel model = 
                    (DefaultListModel) list.getModel();
                model.add(i++, tokenizer.nextToken().trim());
            }
        }
    }