Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » 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: news.s237965939.online.de

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" );
picAlert.setImage(image);

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


Current Time: Fri Mar 29 10:56:16 GMT 2024

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

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

Back to the top