Ustaw indeks JCOMBOBOX Java

int i = 2;
JComboBox.setSelectedIndex(i);
tjwild0127