I am having a problem with image in swing , we are developing a java swing application with oracle 9i as the back end database , I am using jbuilder 2005 for development , I have an image with name of logo.gif , and i am using the following code for adding this image in a label
I have kept this image at the root of my project , when I am working on jbuilder and running the project the image is displayed without any problems but when I try to make a .bat file for my project and than run that bat file the whole project runs successfully but the iamge is not displayed , my bat file is very simple and is follows:
set CLASSPATH=C:\Documents and Settings\abc\jbproject\SYMePClientModule\classes;C:\Documents and Settings\abc\jbproject\SYMePClientModule\oraFiles\classes12.jar;C:\Documents and Settings\abc\jbproject\SYMePClientModule\logo.gif;
as you might have gussed that SYMePClientModule is my root folder , can you please etll that what is the problem , i dont think that there may be some problem with my code because its displaying image perfectly while running from jbuilder , i think that i am doing some mistake in creating bat file , can you please suggest some solution to this problem.
Regards, Bilal Ali. [ January 18, 2008: Message edited by: Bilal Ali ]