I have been pulling my hair over this... I just wanted to do a simple app which shows a image, sounds easy right ?... well, it is, problem is that the emulator wont draw my image.. it works when you just run it as a simple pJava application but it wont show my image in emulator mode...
The problem seems to be that the emulator does not find my image, because when I print out the size of the image it is -1 when I am running the emulator but the "real" pJava app prints out the correct size.
To fetch the image I use : imgLogo = Toolkit.getDefaultToolkit().getImage("julian.gif"😉;
I have tried it with ".\\" and "./" also, did not solve anything
Anyone that has had problems with this ?
Thanks