import java.awt.*;
public class w3{
    Frame frmFrame;
    Label lb;
    TextField tf;
    Button btn;
    FlowLayout FL;
    public w3(){
frmFrame=new Frame("文本框应用");
FL=new FlowLayout();
frmFrame.setLayout(FL);
lb=new Label("请在以下文本框输入");
tf=new TextField();
btn=new Button("确定");
lb.setSize(200,30);
tf.setSize(200,30);
btn.setSize(45,23);
frmFrame.setSize(200,120);
System.out.println(lb.getSize());
System.out.println(tf.getSize());
System.out.println(btn.getSize());
frmFrame.add(lb);
frmFrame.add(tf);
frmFrame.add(btn);
frmFrame.show();
    }
    public static void main(String[] args){
new w3();
    }
}
这段输出的样式竟然是这样的:请问为什么会这样,怎么改才能改成我的初衷