多做题,通过考试没问题!

Java认证考试

睦霖题库>其他计算机考试>Java认证考试

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
答案解析:
进入题库查看解析

微信扫一扫手机做题