单选题
在Frame容器中使用FlowLayout管理布局时,若要设定紧凑排列,则需要调用下列 ______方法。
A、
setLayout(newFlowLayout())
B、
add()
C、
setVisible(tru
D、
pack()
【正确答案】
D
【答案解析】
提交答案
关闭