Solved

If NameList Is a JList Component, Use the Following Statement

Question 8

Multiple Choice

If nameList is a JList component, use the following statement to display 4 rows in nameList.


A) nameList.setRowCount(4) ;
B) nameList.setDisplayRowCount(4) ;
C) nameList.setShowRowCount(4) ;
D) nameList.setVisibleRowCount(4) ;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions