从左到右,自上而下
1.创建流布局对象
FlowLayout t=new FlowLayout();
FlowLayout t=new FlowLayout(FlowLayout.RIGHT);
FlowLayout t=new FlowLayout(FlowLayout.LEFT,10,20);
2.指定容器使用该布局
f.setLayout(t);
已有 22658 名学员学习以下课程通过考试
最需教育客户端 软件问题一手掌握
去 App Store 免费下载 iOS 客户端
点击加载更多评论>>