试题详情
单项选择题 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.

  • E
  • 关注下方微信公众号,在线模考后查看

热门试题