ImageIcon img = new ImageIcon("D:\mahou-in-action\ShiJuanFenXi\src\zoom-in.png"); inst.setIconImage(img.getImage());
提示,最好用png。