pathes for a standalone-app [message #103061] |
Mon, 19 September 2005 12:35 |
Eclipse User |
|
|
|
Originally posted by: leo_zen.gmx.at
After managing somehow to start my first app as stand-alone I'm again
faced with troubles about the path. Namely I have
String MainFrameIcon = "../icon/planer.gif";
Image img =
getToolkit().createImage(getClass().getResource(MainFrameIco n));
which works fine when executing within Eclipse. But fails when run as
standalone-app. The getResource simply returns NULL. Same as it does for
'.'
Note: The gif is included in the jar-file!
What's the difference between running in Eclipse and running as
standalone? What is additionally required?
|
|
|
Powered by
FUDForum. Page generated in 0.09030 seconds