Computer Science Canada loading picture into J2ME |
Author: | tupac [ Wed Jul 05, 2006 5:53 pm ] | ||
Post subject: | loading picture into J2ME | ||
I've got a problem, i keep getting errors when i try loading 2 pictures into my program. I have the 2 images sitting in my "SlideShow\src\SlideShow" folder (where my 2 classes are sitting). Java understands the 2 .jpg's sitting there, it even shows it in the IDE (netbeans), but when i run it, it doesnt give me a formal error (underlined in red, or red lettering in the debugger), but just a little side note up top (i found it while searching if it ever complained, and it did). So this is my code:
This, of course, is only part of my code, slides is an array, so are the captions. This is btw in my "MIDP canvas" if anyone can help me, i would greatly appreciate it. |