@Override public void mouseMoved(MouseEvent e) {
            setPopupFocused(true);

            JList focus = (JList) e.getSource();
            JList other = (focus == choicesList) ? historyList : choicesList;
            focus.setSelectedIndex(focus.locationToIndex(e.getPoint()));
            if (other.getModel().getSize() > 0) {
                other.setSelectedIndex(0); // silly, but needed
                other.clearSelection();
            }

            focusedList = focus;
        }
@Override public void mouseMoved(MouseEvent e)