單項選擇題

You are assigned the task of building a panel containing a TextArea at the top, a label directly below it,and a button directly below the label. If the three components are added directly to the panel. Which layout manager can the panel use to ensure that the TextArea absorbs all of the free vertical space when  the panel is resized?()

A. GridLayout.
B. CardLayout.
C. FlowLayout.
D. BorderLayout.
E. GridBagLayout.

題目列表

你可能感興趣的試題

微信掃碼免費搜題