For add an image, I used this code.
JLabel label = new JLabel(new ImageIcon(getClass().getResource("/bin/image.png")));
image location: Application/src/bin/image.png.
Problem is, In my computer debugging mode it shows the image. But after clean and built project if I copy the folder (Application/dist
) to another computer it does not show the image. How can I show the image in other computers?