If panel references a JPanel object, which of the following statements adds the GridLayout to it?

A) panel.setLayout(new (GridLayout(2,3));
B) panel.addLayout(new (GridLayout(2,3));
C) panel.GridLayout(2,3);
D) panel.attachLayout(GridLayout(2,3));


A) panel.setLayout(new (GridLayout(2,3));

Computer Science & Information Technology

You might also like to view...

Referring to the figure above, which callout points to the tab that should be clicked first to build a query?

A. A B. B C. D D. H

Computer Science & Information Technology

InDesign provides a special window, called the ____, for editing text that has already been placed.

A. Flanked Editor B. Story Editor C. Story Window D. Flank Edit Window

Computer Science & Information Technology

Documentation is only required in the case of a very complicated solution with many steps.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

In Excel, you can group worksheets to enter a footer into two worksheets at a time, by pressing the ________ key while selecting the worksheets before inserting the footer.

a. Home b. Alt c. Ctrl d. Esc

Computer Science & Information Technology