File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Game Development and the fly likes Beginning Java Games Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Game Development
Bookmark "Beginning Java Games" Watch "Beginning Java Games" New topic

Beginning Java Games

Dan Moody

Joined: Feb 27, 2011
Posts: 20

Hi all,

I am currently trying to make a game and I'm struggling with loading images. For some reason (or whatever reason) I can't do it.

Code Below:

Any help would be greatly appreciated.

Thank you.
Jj Hill
Ranch Hand

Joined: Jul 25, 2011
Posts: 41

First of all, the title should be more descriptive. But here's my answer.
I don't work with icons very much, but I do know how to load a regular image:

Is this what you're looking for?
I agree. Here's the link:
subject: Beginning Java Games
It's not a secret anymore!