摘要:
1 private Image offImage = new BufferedImage(800, 700, BufferedImage.TYPE_INT_RGB);//在内存中new一张图片出来 1 public void paint(Graphics g) { 2 Graphic... 阅读全文
摘要:
1 public class Singleton { 2 3 private static Singleton singleton; 4 //懒汉式单例 5 private static Singleton singleton; 6 private Singlet... 阅读全文