Method setSelectedValue(Object anObject, boolean shouldScroll)
Return type: void
Member of:
javax.swing.JList
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
classNamesJList.setSelectedValue(current_class, true);
2
classNamesJList.setSelectedValue(classname, true);
3
methodList.setSelectedValue(FormUtils.getMethodName(selectedMethod), true);
4
propertyList.setSelectedValue(selectedProperty.getName(), true);
5
types.setSelectedValue(initialSelection,true);
6
types.setSelectedValue(initialSelection,true);
7
listBox.setSelectedValue(value, true);
8
mMfgList.setSelectedValue(mfg, true);
9
valueList.setSelectedValue(obj, true);
10
sizeList.setSelectedValue(size, true);
11
_persList.setSelectedValue(newPers, true);
12
custList.setSelectedValue(requestedKey, true);
13
listbox.setSelectedValue(selectedConfig, true);
14
yesList.setSelectedValue(objects[i], true);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.