Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Mobile Tools for Java (MTJ) » Include resources into the JAR
Include resources into the JAR [message #568633] Wed, 26 November 2008 23:12
Eclipse UserFriend
Originally posted by:

In my application there are images to display in forms. I can load them
from disk on the emulator. I've also imported the image in the elipse
project 'res' package/folder. But how will it go into the jar file and
how do I refer to it from the sourcecode? Currently I'm doing

Image image = Image.createImage( "/myPictue.jpg" );

Previous Topic:Vertically split a form
Next Topic:java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceException
Goto Forum:

Current Time: Thu Nov 26 21:25:28 GMT 2015

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

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