Skip to main content



      Home
Home » Newcomers » Newcomers » pathes for a standalone-app
pathes for a standalone-app [message #103061] Mon, 19 September 2005 12:35
Eclipse UserFriend
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?
Previous Topic:How to create a standalone app?
Next Topic:HP-UX 11.00 - RISC processor - Unable to start eclipse 3.1
Goto Forum:
  


Current Time: Mon Jul 21 23:57:47 EDT 2025

Powered by FUDForum. Page generated in 0.09030 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top