posted 16 years ago
I am using Eclipse to develop J2ME application and i am trying to insert image but getting an error java.io.IOException
This is how my code looks like.. I am getting an error in the first line itself.. there must be problem in locating the file... Can i give the absolute path of image.. ??
Image med = Image.createImage("/Elixir.png");
ImageItem Elixir = new ImageItem(null,med,ImageItem.LAYOUT_CENTER,null);
form.append(Elixir);
Can you please suggest where to put image in Eclipse...
Amit
University of Florida