JLabel.setIcon()无法显示图片,,怎么回事哦,,,
import java.awt.*;
import javax.swing.*;public class Welcome extends JFrame{
private JLabel textJLabel;
private JLabel pictureJLabel;public Welcome(){
creatUserInterface();
}private void creatUserInterface(){
Container contentPane=getContentPane();
contentPane.setBackground(Color.WHITE);
contentPane.setLayout(null);//textJLabel=new JLabel();
//textJLabel.setText("Welcome to java Programming!");
//textJLabel.setLocation(35,0);
//textJLabel.setSize(550,88);
//textJLabel.setHorizontalAlignment(JLabel.CENTER);
//contentPane.add(textJLabel);pictureJLabel=new JLabel();
pictureJLabel.setIcon(new ImageIcon("E:\buttons_1.png"));
pictureJLabel.setBounds(54,120,500,250);
pictureJLabel.setHorizontalAlignment(JLabel.CENTER);
contentPane.add(pictureJLabel);setTitle("Welcome");
setSize(608,413);
setVisible(true);
}public static void main(String[] args ){
Welcome application=new Welcome();
application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}
//end main
}//end class Welcome