JButton组件
布局管理器
FlowLayout 流式布局
BorderLayout 方位布局
GridLayout 表格布局
绝对布局
JLable 组件
文本框组件
JPanel轻量级容器
创建事件监听类 (更换监听类实现监听)
窗口监听适配器
都可使用匿名类实现监听
每个监听方法都可以返回一个Event对象来返回监听值