This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Hi guys, have just created executable jar for a small test app which includes a jpeg that is drawn on a JPanel somewhere in the program. Problem is when I double click the jar the image is not appearing. Is there any special way I need to add resources such as image files to a jar, or a special way to reference them in the app code? I assumed I could just include the jpeg in the jar and it would work, but apparently not.