最主要是应用到javax.swing包下面的ImageIcon类;方法如下: import javax.swing.ImageIcon; ImageIcon image = new ImageIcon("图片的路径"); jButton1.add(image); 浏览便搞定了。