Method setSelectedIndex(int anIndex)
Return type: void
Member of: javax.swing.JComboBox
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 combo.setSelectedIndex(0);
2 if (isSelected()) _box.setSelectedIndex(1);
3 list.setSelectedIndex(0);
4 decoderBox.setSelectedIndex(0);
5 setSelectedIndex(1);
6 if (pauseButton.getSelectedIndex() != 0) pauseButton.setSelectedIndex(0);
7 tagvarComboBoxScope.setSelectedIndex(0);
8 filterBox.setSelectedIndex(0);
9 jcbCatalogs.setSelectedIndex(0);
10 setSelectedIndex( 0 );
11 yearCombo.setSelectedIndex(9);
12 dest.setSelectedIndex(0);
13 this.indentPop.setSelectedIndex(0);
14 _persCombo.setSelectedIndex(0);
15 probability.setSelectedIndex(0);
16 cardList.setSelectedIndex(0);
17 mb_trans_op.setSelectedIndex(0);
18 if (model.getSize() > 0) cmbActions.setSelectedIndex(0);
19 this.cmbZoom.setSelectedIndex(2);//100%
20 comboBoxCategory.setSelectedIndex(0);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.