摘要: /** * java awt双缓冲技术 复制代码到显示区 */ Image offScreenImage = null; public void update(Graphics g) { if(offScreenImage == null) { offScreenImage = this.createImage... 阅读全文
posted @ 2018-01-10 18:04 yoyo198212 阅读(944) 评论(0) 推荐(0) 编辑
摘要: package cn.test; import java.util.ArrayList; import java.util.List; public class Test01 { public static void main(String[] args) { WakeupEvent e = new WakeupEvent(); Child c = n... 阅读全文
posted @ 2018-01-10 07:55 yoyo198212 阅读(93) 评论(0) 推荐(0) 编辑
摘要: package cn.thought; import java.util.ArrayList; import java.util.List; public class Test { public static void main(String[] args) { Button btn = new Button(); btn.addActionList... 阅读全文
posted @ 2018-01-07 15:25 yoyo198212 阅读(140) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) { String iniResourcePath = "classpath:shiro.ini"; Factory factory = new IniSecurityManagerFactory(iniResourcePath); ... 阅读全文
posted @ 2018-01-01 20:19 yoyo198212 阅读(101) 评论(0) 推荐(0) 编辑