Humm, thanks, but thats not my doubt. I need to know how to import a PNG image to a J2ME Netbeans project, so that PNG will be packed with deployed application. I tryed to add but theres a lot of options of adding a file but PNG.
You need to register a folder with your project. I forgot exactly how it goes, but I think it was:
1. Right-click your project in the "Projects" side-pane and choose "Properties" from the pop-up menu.
2. One of the screens has buttons like: "add library" and "add folder" -- choose add folder.
3. Create a new folder in your project directory and select it.
Now you can add files, such as PNG images, from your computer into that new folder and they will be bundled with your application.
Hi friends of JavaRanch, thanks for try to help-me!
My solutions for this problem was as follow:
1-Click with right mouse button on your application Package -> New -> Java Package
2-So, if your package name is mypackage you should put mypackage.resource
3-Using windows explorer find this folder on your HD and put all of your resourses in.
worked for me!
Hope this help someone ;D