Multiple Choice
If a user enters a value in the text box of an editable combo box and the value is NOT in the list, what will the method getSelectedIndex return?
A) The index of the item that the user replaced
B) The index of the item the user entered
C) -1
D) 0, since the item is not in the list
Correct Answer:

Verified
Correct Answer:
Verified
Q23: A read-only text field uses the JReadOnlyTextField
Q24: The ImageIcon class supports all the following
Q25: This is a specialized dialog box that
Q26: When you create an instance of the
Q27: A tool tip is:<br>A) a guide provided
Q29: To force the JFrame that encloses a
Q30: When an item in a Jlist object
Q31: If addressList is a JList component, what
Q32: What will display when the following code
Q33: What does the following statement do?<br>JTextArea textField