[jnc-users] Question on resources (images etc)
Status: Beta
Brought to you by:
soapy
From: Friedhelm H. <fhe...@ya...> - 2007-03-06 16:55:54
|
How do I have to load images for buttons etc? I have seen in the FAQ, that I have to put them into a separate jar and compile it as complete jar. So I have put all resources in my src folder into a jar that is used in the *.jnc file. The loading of images is done i.e. by shell.setImage(SWTResourceManager.getImage(PictureMover.class, "/de/fh/pictureMover/images/checkin_action.gif")); But that does not work. How do I have to load the images? Thanks in advance, fridi ___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de |