摘要: 鼠标事件及监听处理: 1.使用MouseListener接口,产生MouseEvent事件; 2.通过MouseAdapter实现监听。 鼠标拖拽事件及监听处理: 使用MouseMotionListener接口 单选钮: 1.使用JRadioButton类完成; 2.使用ItemListener接口 阅读全文
posted @ 2019-11-23 21:21 王梦菲 阅读(113) 评论(0) 推荐(0) 编辑