Hi all,
I am trying to create a new tecture from a remove file on the net with the following code snippet,
try {
System.out.println("Getting the URL\n");
URL url = new URL("http://people.na.infn.it/~carrillo/rpc/frog/crop/637566997.png");
System.out.println("Getting the Texture\n");
texture = TextureIO.newTexture(url, false, "png");
}
catch (IOException exc) {
exc.printStackTrace();
System.exit(1);
}
but its basically stuck for ever at the newTexture line…
Same code with local file works like a charm…
And the URL is fine and I am getting the image instataniously in my web browser, so…
What did I miss?
Thanks,
Loic