[javaCompiler-users] Accessing Resources [getResourceAsStream]
Status: Beta
Brought to you by:
soapy
From: <kas...@gm...> - 2006-11-22 16:50:39
|
Hello, How can external resources, such as image files (gif or jpegs) be referenced by the final .exe build in a Java class? I tried using "getResourceAsStream" as the normal way of accessing resources using a class but it could not find the resource. Also, do these need to be embedded into the exe or referenced using relative paths? Any help is appreciated. Kashif. |