Method addItem(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 this.addItem("DM");
2 this.columnChooser.addItem("");
3 resultChoice.addItem("Collection");
4 box.addItem("");
5 box.addItem("");
6 _lineField.addItem("No Line");
7 languageBox.addItem("Java");
8 cbox.addItem ( "Any" );
9 combo.addItem(item);
10 drvClassComboBox.addItem(drv);
11 jComboBox1.addItem("Integer: " + Integer.toString(myTypes.getMyInt()));
12 choiceList.addItem(item);
13 namespaceList.addItem(new Namespace("", null));
14 fieldCombo.addItem(CertificatePersistence.FIELD_NAME);
15 portBox.addItem(v.elementAt(i));
16 comboBox.addItem(text);
17 box.addItem( (String)items.elementAt(i));
18 filterBox.addItem(filters[i]);
19 regServerList.addItem( name );
20 _implementsComboBox.addItem(aList.get(i));
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.