Is that your applet is likely using two different class loaders. The system class loader loads the local java base stuff, but a different class loader loads the applet jar (probably some url class loader thing).
BlankIcon.class.getResource("name_of_file_to_load");
is using whatever class loader loaded BlankIcon - which likely isn't the system class loader.