ConversationID id = cmodel.getConversationAt(null, selected);
ConversationID id = cmodel.getConversationAt(selected);
    public ComparePanel(Compare compare) {        initComponents();        _compare = compare;        _model = _compare.getModel();        baseComboBox.setModel(new ListComboBoxModel(new ConversationListModel(_model.getConversationModel())));        baseComboBox.setRenderer(new ConversationRenderer(_model.getConversationModel()));        _tableModel = new ConversationTableModel(_model.getComparisonModel());        _tableModel.addColumn(new ColumnDataModel() {            public Object getValue(Object key) {                if (_model == null) return null;                return _model.getDistance((ConversationID) key);            }            public String getColumnName() { return "Distance"; }            public Class getColumnClass() { return Integer.class; }        });                conversationTable.setDefaultRenderer(Date.class, new DateRenderer());        _conversationSorter = new TableSorter(_tableModel, conversationTable.getTableHeader());        conversationTable.setModel(_conversationSorter);        _baseContent = new ContentPanel();        _selectedContent = new ContentPanel();        contentsSplitPane.setLeftComponent(_baseContent);        contentsSplitPane.setRightComponent(_selectedContent);            baseComboBox.addActionListener(new ActionListener() {            public void actionPerformed(ActionEvent e) {                Object o = baseComboBox.getSelectedItem();                if (o instanceof ConversationID) {                    ConversationID id = (ConversationID) o;                    _compare.setBaseConversation(null, id);                    ConversationModel cmodel = _model.getConversationModel();                    Response response = cmodel.getResponse(id);                    String contentType = response.getHeader("Content-Type");                    _baseContent.setContentType(contentType);                    _baseContent.setContent(response.getContent());                }            }        });                conversationTable.getSelectionModel().addListSelectionListener(new ListSelectionListener() {            public void valueChanged(ListSelectionEvent evt) {                int selected = conversationTable.getSelectedRow();                if (selected == -1) {                    _selectedContent.setContent(null);                    return;                }                selected = _conversationSorter.modelIndex(selected);                ConversationModel cmodel = _model.getComparisonModel();                ConversationID id = cmodel.getConversationAt(null, selected);                Response response = cmodel.getResponse(id);                String contentType = response.getHeader("Content-Type");                _selectedContent.setContentType(contentType);                _selectedContent.setContent(response.getContent());            }        });    }