How do I make my image appear in the application after generating .jar? I'm doing it this way and it's not working.
@FXML
private ImageView image;
@Override
public void initialize(URL url, ResourceBundle rb) {
File file = new File("src/icons/logo-superplano.png");
Image imagem = new Image(file.toURI().toString());
image.setImage(imagem);
}