To add the JList object addressList to a scroll pane named scrollPane, use the following:
A) JScrollPane scrollPane = new JScrollPane(addressList);
B) scrollPane.add(addressList);
C) addressList.add(scrollPane);
D) addressList.addScrollPane(scrollPane);
A) JScrollPane scrollPane = new JScrollPane(addressList);
You might also like to view...
The Apache OpenOffice database application is called ________
Fill in the blank(s) with correct word
Using the ________ button is an efficient way to locate a record in the table
A) Locate B) Find Record C) Find D) Get Record
When writing a program, a(n) ____ structure provides the capability to make a choice between different instructions, depending on the result of some condition.
A. sequence B. selection C. iteration D. invocation
?You have been contacted to suggest a solution for creating a digital mockup of a machine to be used at a factory. The users would like to be able to view and interact with the layout of the controls of the machine, even before the actual machine is built. A(n) _______________ system will be an appropriate choice for this kind of problem.
Fill in the blank(s) with the appropriate word(s).