Graphics g = mf.getGraphics(); Image img = new ImageIcon("book1.png").getImage(); g.drawImage(img, 2, 2, null);
Graphics g = mf.getGraphics(); Image img = new ImageIcon("book1.png").getImage(); g.drawImage(img, 2, 2, null);
转载于:https://www.cnblogs.com/yoyo198212/p/8266632.html