I'm losing images of my project after creating a jar file, although they work just fine on eclipse
i have tried this code bellow to import an image to a Jbutton
valid = new javax.swing.JButton(new ImageIcon(((new ImageIcon("/resources/cashier-machine.png")).getImage())
.getScaledInstance(170, 170, java.awt.Image.SCALE_SMOOTH)));
i'm still failing to get images after creating a Jar file for the project