I am setting icon to my Jlabel in Eclips but it giving error that Type mismatch: cannot convert from java.awt.Image to Image and in next line The constructor ImageIcon(Image) is undefined
JLabel label_1 = new JLabel("");
Image img=new ImageIcon(this.getClass().getResource("/a1.png")).getImage();
label_1.setIcon(new ImageIcon(img));
label_1.setBounds(0, 0, 439, 615);
frame.getContentPane().add(label_1);