The ____ method of JComboBox returns the maximum number of items the combo box can display without a scroll bar.

A. getSelectedItem()
B. getItemCount()
C. getMaximumRowCount()
D. getSelectedIndex()


Answer: C

Computer Science & Information Technology

You might also like to view...

A system requires that arriving processes must wait for service if the needed resource is busy. The system does not use aging to elevate the priorities of waiting processes to prevent indefinite postponement. What other means might the system use to prevent indefinite postponement?

What will be an ideal response?

Computer Science & Information Technology

Identify the letter of the choice that best matches the phrase or definition.

A. An interactive, clickable item that becomes active when the document is exported as an interactive PDF or SWF file B. Takes you from one place in a document or on a web page to another place C. The actual link that a user will click D. The place the source jumps to E. InDesign utility used to check an open document for errors

Computer Science & Information Technology

Briefly describe the hexadecimal numbering system.

What will be an ideal response?

Computer Science & Information Technology

Which of the following is a common way to measure the time cost of an algorithm?

A. count lines of code B. use a stopwatch C. calculate memory usage D. use the computer's clock

Computer Science & Information Technology