Method setSelectedItem(Object anObject)
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 parameterComboBox.setSelectedItem( "" ); // NOI18N
2 stagetype.setSelectedItem("Null");
3 else _lineField.setSelectedItem("No Line");
4 ampmCombo.setSelectedItem("PM");
5 nameComboBox.setSelectedItem( "" ); // NOI18N
6 ((JComboBox)component).setSelectedItem("");
7 combo.setSelectedItem("snip1");
8 ((JComboBox)rep).setSelectedItem("9");
9 super.setSelectedItem(value);
10 combo.setSelectedItem(str);
11 zoom.setSelectedItem(values[currentIndex] + zoomAppendage);
12 _combo.setSelectedItem(per);
13 comboBox.setSelectedItem((String)brickAttributes.get("uses"));
14 combo.setSelectedItem(getOption().getValue());
15 fieldCombo.setSelectedItem(CertificatePersistence.FIELD_NAME);
16 fontList.setSelectedItem(font.getFamily());
17 box.setSelectedItem(map.get(curSource.getClass()));
18 fontSelectionBox.setSelectedItem( font.getName());
19 combo.setSelectedItem(currentItem);
20 choiceList.setSelectedItem(pText);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.