Applet.getImage does not return immediately as said in the API doc