| Author |
Mock test question has got me stumped, help!
|
Otto Deckelman
Ranch Hand
Joined: Mar 28, 2001
Posts: 30
|
|
Write a line of code that declares a variable named layout of type LayoutManager and initializes it with a new object, which when used with a container can lay out components in a rectangular grid of equal-sized rectangles, 3 components wide and 2 components high.
|
 |
Jim Bedenbaugh
Ranch Hand
Joined: Nov 09, 2001
Posts: 171
|
|
[ May 08, 2002: Message edited by: Jim Bedenbaugh ]
|
Regards,
Jim
SCJP, SCJD, SCWCD, SCEA Part I
|
 |
Otto Deckelman
Ranch Hand
Joined: Mar 28, 2001
Posts: 30
|
|
Jim, thanks alot...I was close... LayoutManager layout = new LayoutManager(new GridLayout(2,3)); Sometimes the questions are misleading especially to a greenhorn!!
|
 |
 |
|
|
subject: Mock test question has got me stumped, help!
|
|
|