JXComboBox extends JComboBox { protected ComponentAdapter getComponentAdapter() { if (dataAdapter == null) { dataAdapter = new ComboBoxAdapter(this); } return dataAdapter; } JXComboBox();  JXComboBox(ComboBoxModel model);  JXComboBox(Object[] items);  JXComboBox(Vector<?> items); String getStringAt(int row); @Override ListCellRenderer getRenderer(); ListCellRenderer getWrappedRenderer(); @Override void setRenderer(ListCellRenderer renderer); boolean isUseHighlightersForCurrentValue(); void setUseHighlightersForCurrentValue(boolean useHighlightersForCurrentValue); void setHighlighters(Highlighter... highlighters); Highlighter[] getHighlighters(); void addHighlighter(Highlighter highlighter); void removeHighlighter(Highlighter highlighter); @Override void updateUI();  }
@Test public void testConfiguredComponentAdapter() { JXComboBox combo = new JXComboBox(new Object[] {1, 2, 3}); ComponentAdapter adapter = combo.getComponentAdapter(); assertThat(adapter.column, is(0)); assertThat(adapter.row, is(0)); adapter.row = 1; adapter.column = 1; adapter = combo.getComponentAdapter(0); assertThat(adapter.column, is(0)); assertThat(adapter.row, is(0)); }