Java Swing Get Recurso da imagem
image = ImageIO.read(getClass().getResource("/resources/icon.gif"));
Wrong Wasp
image = ImageIO.read(getClass().getResource("/resources/icon.gif"));