谢谢!

dulang200x 2003-10-17 02:59:50
35. 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
题目意思能解释下吗?
...全文
41 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
jinzongnan 2003-10-19
  • 打赏
  • 举报
回复
大概意思是,以panel为容器直接放入三个组件(TextArea Label and Button),由上到下排列,问,如果要使TestArea随着窗口大小的变化而变化应选择哪种布局管理器。

50,523

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧