Thanks,I'm using WINDOWBUILDER (JBWILDER) First I create a folder called displayImage in my project called Magasin, I put all images I need in my application , then to load image I go to properties -> icon->absolute path in file system I browse I go to my project this is my project path("C:\Users\CLAUDE\workspace\Magasin\displayImage\load.jpg) automatically generate code look like this
JLabel lblNewLabel = new JLabel("");
lblNewLabel.setIcon(new ImageIcon("C:\Users\CLAUDE\workspace\Magasin\displayImage\load.jpg"));
lblNewLabel.setBorder(new BevelBorder(BevelBorder.LOWERED));
lblNewLabel.setBounds(48, 11, 305, 153); panel.add(lblNewLabel);