aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes how to load image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to load image" Watch "how to load image" New topic
Author

how to load image

ed jones
Greenhorn

Joined: Oct 01, 2008
Posts: 11
hello,

confused about how to load an image? The image is in /src/res
Aum Tao
Ranch Hand

Joined: Feb 14, 2006
Posts: 210
Usually, placing the image file in the same directory as your main class file is sufficient. Or, you can also add it explicitly if you are using an IDE like NetBeans.


SCJP 1.4 85%
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38865
    
  23
Sound like a Swing-related topic: moving
 
 
subject: how to load image