This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Helpful hint: when posting messages, it's a good idea to make the message title specific to your problem. A general "help me!" doesn't attract the attention of people who are most likely to know and answer, since they'd actually have to open and read the message first. On the other hand, your first sentence "How do I add images for a jar file on the mac?" would make a good title, since it lets Mac people know immediately that you need their help.
An IDE is no substitute for an Intelligent Developer.
Joined: Jun 11, 2011
Okay Tim, I would surely do that but I do not know how do I actually change the title of the post now. Sorry for being so naive, but I am totally new here. So I would be glad if you could help me out with that.
Usually the resources such as Images and media go under the res directory. Then, in your code, you access them with something like Later, when you bundle your app jar, the res directory is automatically included in the jar.
Does this answer your question? Frankly speaking I am not sure I understand what you are asking and what Mac has got to do with it.
Hey, thanks for the reply. I do understand you need to put them under the resources folder but my project does not have any resources folder. That is the reason why I was a bit befuddled and didn't know where to place the images. I am using the standard Java ME SDK.