1.FlowLayout 流式布局
代码:
public class TestFlowLayout {
public static void main(String[] args) {
Frame frame = new Frame();
//创建组件—按钮
Button button1 = new Button("button1");//创建对象button1
Button button2 =
代码:
public class TestFlowLayout {
public static void main(String[] args) {
Frame frame = new Frame();
//创建组件—按钮
Button button1 = new Button("button1");//创建对象button1
Button button2 =
6万+
2058
1764

被折叠的 条评论
为什么被折叠?