I am currently using the following code segment to get the image for the interface.
ImageIcon img = new ImageIcon("./lib/logo.gif");
JLabel lblNewLabel = new JLabel("");
lblNewLabel.setIcon(img);
lblNewLabel.setBounds(28, 65, 140, 100);
However, when i execute clean and build, the image does not appear when i execute the jar file. What seems to be the problem and where should I put the image file? Thanks in advance.