logo       

Re: Image Problem: msg#00313

java.sun.kvm

Subject: Re: Image Problem

On Monday 29 December 2003 10:28 am, you wrote:
> i have a problem with PNG images in J2ME. I draw a picture in MS Paint and
> save as PNG. My application use it like:
>
> Image i= new Image.CreateImage("/Splash.png")
>
> It runs on J2ME Wireless Toolkit emulators fine. but it doesn't run on
> Nokia Developer Suite emulators. (i try it on 7250,3510i,7600 and Series60
> emulators). Applicatin throwed IOException.
>
> I tried it with another image file(with images of NDS examples and WTK
> examples). It runs fine wit these images.
>
> Only image which i created, throws IOException in NDS emulators. What is
> the problem

Have you verified that your PNG file is actually present in the JAR and that
it's entry is "/Splash.png" (case sensitive)?

--
Darryl L. Pierce <mcpierce@xxxxxxxxxxxxx>
Visit the Infobahn Offramp - <http://mypage.org/mcpierce>
"What do you care what other people think, Mr. Feynman?"

===========================================================================
To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@xxxxxxxxxxxx and include in the body of the message "help".



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise