新手入门Java界面编程
- 将组件加载到容器中:
f.add("Center", a);
- 设置容器尺寸:
f.setSize(400, 200);
- 显示容器:
f.show();
- 启动组件:
a.start();
9.2MB
文件大小:
评论区