输入框 TextField 示例代码: //输入框 TextField监听 public class TestText01 { public static void main(String[] args) { //启动! new MyFrame()