Selecting a JList item generates ________.

a. an ActionEvent
b. a ListItemEvent
c. a ListSelectionEvent
d. a ListSelectionItemEvent


c. a ListSelectionEvent

Computer Science & Information Technology

You might also like to view...

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

Computer Science & Information Technology

What library header file must be included if you want to use exit to terminate a program prematurely?

What will be an ideal response?

Computer Science & Information Technology

On a LAN RJ-45 connector, what name is given to the eight physical connections that make contact when connected?

A) Threads B) Wires C) Strands D) Crimps E) Pins

Computer Science & Information Technology

Which feature of RISC CPUs allows the processor to operate on one instruction at the same time it is fetching one or more subsequent instructions?

A. caching B. CPU scheduling C. coprocessing D. pipelining

Computer Science & Information Technology