aspose file tools*
The moose likes Java Micro Edition and the fly likes HELP!! I can't see my picture Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "HELP!! I can Watch "HELP!! I can New topic
Author

HELP!! I can't see my picture

aditya kusumo
Greenhorn

Joined: Mar 04, 2004
Posts: 3
Hi guys, i have a little trouble with my application. I've build an application, and it run well in KToolbar. When i make package (*.JAR, *.JAD) with KToolbar and run it in "Run Application" my application can't show the picture and it stops running. I 've uncomment the picture and it run well but without picture. What wrong with my apps? How to make my picture showed? Below is the code
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
when you package your JAR file, you need to put in the duke.png file at the root level of the class packages.
cheers
Michael


Seam Framework: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
aditya kusumo
Greenhorn

Joined: Mar 04, 2004
Posts: 3
hi michael, thanks for the answer but i don't know where i must placed the picture. The JAR file was in C:\WTK104\apps\KendaliAC\bin, and i have placed it in the same folder and i've tried to placed it in C:\WTK104\apps\KendaliAC\, but it still didn't work. The picture didn't showed and my application didn't run (hang). where i must placed the picture? My friend have the same problem too. Thanks for ur help.
Pavel Kubal
Ranch Hand

Joined: Mar 13, 2004
Posts: 356
you should place your image into res directory
example :
C:\WTK104\apps\KendaliAC\res\picture.png
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HELP!! I can't see my picture